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
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");
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)