Using a proxy for firebase real time db connection

风格不统一 提交于 2020-01-13 12:04:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!