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

FCM Problem After Ionic 5 & Angular 9 Update

$
0
0

@LacOniC wrote:

Recently i upgraded my Ionic 4 project to Ionic 5 and Angular 9. I updated all other packages also. Then some feedbacks reported about notification problems. I noticed that:

When i install app first time, it wants permission for notifications and that time this code works:

token = await this.firebase.getToken();

But works only once. After login or reopen app this code never works.

Btw, i give FCM token to users after login, normally. Because of it does not work second time, i can not pair users with FCM tokens so i can not send user specific notifications.

Not: First i suspected about FirebaseX. So i tried last version (9.1.1-cli) then my old version (7.0.1) and nothing changed. Now i use 8.0.1.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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