Some feature using firebase in Ionic app not working on device


#1

I create an app using firebase as backend, everything works fine on browser but when i build the app and run it on my android device the feature that using firebase (login, profile page use it to get the user data, etc) is not working (cant open the page). Can someone help me?


#2

What library are you using? Npm or cdn?


#3

At a guess, I would suggest that the issue is somewhere in the code of your components, directives, modules, pages or services.

I don’t think there is an issue with your markup or styles.


#4

Im using angularfire2. Npm


#5

I create a service provider to get the data from firestore, and only the pages using that service provider is not working. Is it my service provider that causing the problem?


#6

Have you tried using the cdn?