Troubleshoot ionic+firebase+android


#1

I am fairly new to angular, ionic and firebase.

I have an ionic app with firebase backend which works fine with ionic serve.

App deployed on android does not update firebase backend. Form in app clears as specified i function, but no new objects in firebase.

Any recommendations on troubleshooting/debugging?


#2

Hmm, so this could be a few things.

  1. Do you have the whitelist plugin installed?

If so, can you log out the you request to firebase?
Can you share some code?


#3

Thank you very much, whitelist plugin was the solution:

ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git

Added following to config.xml

 <allow-navigation href="*" />

Can see it is not recommended to use wildcard, but its fine for test purposes.