We’ve just updated our Firebase Admin SDK on our app backend and there is no longer an option to add a badge count for the app icon badge. Also noticed that the capawesome badge plugin that we have been using is now deprecated.
Does anyone know how to set an app icon badge for iOS now?
As far as I know the capawesome badge plugin is not deprecated, it was just moved to GitHub - capawesome-team/capacitor-plugins: ⚡️ Community plugins for Capacitor. Supports Android, iOS and the Web. and the old repository was archived because of that.
For push notifications the badge number should be sent from the server, so I think you should report the issue to Firebase, they should allow you to set the badge from there.
1 Like
Hey thanks for your reply. That’s good to know the plugin isn’t deprecated. I figured out the problem and where they moved the badge property on the Firebase Admin SDK. In case anyone else facing the same issue; it has moved from notification > badge on the message object to apns > payload > aps > badge.