fechanique / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
624 stars 990 forks source link

ios not update badge number when receive notification #599

Open yhlee0502 opened 4 years ago

yhlee0502 commented 4 years ago

Hi, i'm ionic developer. Now i want to implement fcm notification to my app. During implementation i have face the problem of badge number not increase when receive notification in my ios app.

I want to know how can i update my ios app badge no when receive notification from fcm server.

From https://stackoverflow.com/questions/14256643/update-badge-with-push-notification-while-app-in-background/53159748#53159748, i have found one solution is mention can use content-available to make ios app can increase badge number when notification is coming.

But this solution is not work for me.

From https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CreatingtheNotificationPayload.html#//apple_ref/doc/uid/TP40008194-CH10-SW8 also have mention can resolve this problem by using content-available.

Anyone that have face this problem please share your experience and solution to me. Or anyone that have solution also please share your solution to me.

Thank You.

ProximaHaiz commented 4 years ago

Hi, any updates here?