Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ionic latest 3 Firebase and Firebase Cloud problem

$
0
0

@Aggrodin wrote:

Hey guys, i want to use firebase as database for my mobile app, but i want to use firebase push notifications aswell.

So if i want to use the firebase push notifications i need to get angular fire and init the database settings in my app.module.ts and if i want to use the firebase ( for realtime database ) i need to init the firebase config in my app.component.ts .

So if i init the firebase settings in app.module.ts with angular fire it’s shows that i want to access firebase before the init ( that’s because i have services to firebase realtime database)

But if init my firebase in app.component.ts angular fire is not working.

If i init the firebase in app.component.ts and in app.module.ts it shows that i can’t have 2 configs to the same firebase database.

My question is how do i use firebase for push notifications and as realtime database .

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>