I need to set the host for a Firebase Firestore instance and in FirebaseFirestoreSettings.Builder()
I have a method setHost()
which works with grpc.
But grpc doesn't support java socks currently.
How can I set a Socks5h proxy for Firebase Firestore?
FirebaseFirestoreSettings.Builder()
.setHost("socks:///12.3.456.789:1234") //i'ts my proxy
.builder()
I tried this: socks:///
, socks5:///
, socks5h:///
It didn't work, throwing a NameResolver
exception.