This is worth a try. I've updated the Flutterflow Notifications node to add the badge count for iOS in the format FCM requires.
A few things to remember with badgeCount, however...
1. Value Type: The badge count (badgeCount) should be a non-negative integer. Negative values are not valid and may be ignored or lead to unexpected behavior.
2. Updating the Badge Count: The badge count set via push notification is entirely controlled by the server-sent payload. It's not automatically incremented or decremented by iOS; your server needs to track and send the correct count based on the app's specific logic (e.g., number of unread messages).
3. Resetting the Badge Count: To remove the badge, send a push notification with the badge count set to 0.