问题
I'm developing android app. I need to connect my app to firebase real time db to get some information and authenticate my user. But, the problem is that I have to connect to firebase through proxy - our company proxy. I checked some solutions to set proxy such as this. but this solutions will pass webView requests through proxy.
Is there any solution to pass firebase query requests through proxy? Does anyone have any solution for that?
回答1:
After many googling and testing different methods, I found that there is no way to use proxy for connecting my app to firebase real time db! In order to round away this problem I find a solution: Using VPN tunneling connection in app (such as psiphon-tunnel-core) in order to tunnel all app traffic. But, the problem is that it required user approve to make VPN connection.
So, I think we should close this topic. But, if anyone anytime has any suggestion I will appreciate to add in comment.
来源:https://stackoverflow.com/questions/52252756/using-a-proxy-for-firebase-real-time-db-connection