Currently in my project for iOS which does have remote notifications working correctly, the badge counter is always set to 1. All the messages I am using have include in push count turned on.
I couldnt find a documentation about this so my question is:
1. Is there anything specific that needs to happen to increment and decrement the iOS app badge counter? Ideally when the app is closed, I want the badge count to match all the number of all types of push notifications received.
2. When a player views a specific game tied to a ChallengeTurnTaken message I want to decrement the badge counter by 1 only if they viewed the game. So if the badge counter is 3 because of 3 ChallengeTurnTaken messages and they view 2 of those games then leave the app, the badge counter should now be 1. This should be the same behavior for the ChallengeStartedMessage.
Best Answer
C
Customer Support
said
about 6 years ago
Hi Jaayden
We have stopped using badge count for push notifications.
We will be updating the documents and portal to reflect this change.
We have stopped using badge count for push notifications.
We will be updating the documents and portal to reflect this change.
Regards
Katie
J
Jaayden Halko
said
about 6 years ago
Badge count is still always 1 in my case. Will there be an update that will change this or do I need to manually clear the count?
J
Jaayden Halko
said
about 6 years ago
Any advice for how to handle the badge in Unity? or should it just work as is if the badge count is not getting sent?
Customer Support
said
about 6 years ago
Hi Jaayden
Unity will not receive a badge count from Gamesparks.
Regrads
Katie
T
Tiago Pascoal
said
about 4 years ago
Hello, it's been 2 years since the last activity on this thread.
Is there any news about this?
We need to increment the app badge counter according to the number of push notifications, is there any workaround that we can implement in order to achieve this?
Jaayden Halko
Currently in my project for iOS which does have remote notifications working correctly, the badge counter is always set to 1. All the messages I am using have include in push count turned on.
I couldnt find a documentation about this so my question is:
1. Is there anything specific that needs to happen to increment and decrement the iOS app badge counter? Ideally when the app is closed, I want the badge count to match all the number of all types of push notifications received.
2. When a player views a specific game tied to a ChallengeTurnTaken message I want to decrement the badge counter by 1 only if they viewed the game. So if the badge counter is 3 because of 3 ChallengeTurnTaken messages and they view 2 of those games then leave the app, the badge counter should now be 1. This should be the same behavior for the ChallengeStartedMessage.
Hi Jaayden
We have stopped using badge count for push notifications.
We will be updating the documents and portal to reflect this change.
Regards
Katie
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Jaayden
We have stopped using badge count for push notifications.
We will be updating the documents and portal to reflect this change.
Regards
Katie
Jaayden Halko
Badge count is still always 1 in my case. Will there be an update that will change this or do I need to manually clear the count?
Jaayden Halko
Any advice for how to handle the badge in Unity? or should it just work as is if the badge count is not getting sent?
Customer Support
Hi Jaayden
Unity will not receive a badge count from Gamesparks.
Regrads
Katie
Tiago Pascoal
Hello, it's been 2 years since the last activity on this thread.
Is there any news about this?
We need to increment the app badge counter according to the number of push notifications, is there any workaround that we can implement in order to achieve this?
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics