Some feature using firebase in Ionic app not working on device

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?

What library are you using? Npm or cdn?

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.

Im using angularfire2. Npm

1 Like

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?

Have you tried using the cdn?