Firebase android proxy setting

前端 未结 2 1694
遇见更好的自我
遇见更好的自我 2020-12-06 10:56

I have made an android app https://play.google.com/store/apps/details?id=com.confesco.maggi which works with firebase as database which works well when I use 3G net.The prob

相关标签:
2条回答
  • 2020-12-06 11:20

    This article seems to suggest that it is possible. It applies the standard Java proxy directives and one specific one for Google API:

    System.setProperty("https.proxyHost", "localhost");
    System.setProperty("https.proxyPort", "3128");
    System.setProperty("com.google.api.client.should_use_proxy", "true");
    
    0 讨论(0)
  • 2020-12-06 11:40

    There is currently no workaround for using the Android client over a proxy, sorry. I've put this on the Firebase feature list and hopefully we can address it in the near future.

    (Answer copied from a previously posted comment)

    0 讨论(0)
提交回复
热议问题