Cannot Read And Write To FireStore Or Realtime Database Using Real Device

I set read and write to true and all are working fine with cordova run browser. But it does not work using a real device. No error is being thrown by either FireStore or Realtime Database. Anyone? Thanks!
Btw, I use Angularfire2.

I have been using Angularfire2 on my previous projects but now I am giving up. I ended up using MySQL database and will stop using Firebase and Angularfire2 on my new projects.