Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Counts' value returned is wrong for IOS #814

Open
Helios6221 opened this issue Sep 19, 2024 · 0 comments
Open

'Counts' value returned is wrong for IOS #814

Helios6221 opened this issue Sep 19, 2024 · 0 comments

Comments

@Helios6221
Copy link

Hi, for a IOS notification the counts value returned is always double what it should be, i.e. for:
{"notifications":[{"tokens":["devicetokenhere"],"platform":1,"message":"xyz","title":"abc","topic":"com.xyz.app"}]}
the response was:
{"counts":2,"logs":[],"success":"ok"}

Steps to Reproduce:

  1. Configure GoRush with the necessary iOS settings (using a p8 key for APNs).
    
  2. Send a push notification to a single iOS device, including the topic field in the payload as shown above.
    
  3. Observe that the counts value in the response is 2 instead of 1.
    

Additional Information:

  • Using p8 key authentication.
    
  • Removing the topic field from the payload results in a MissingTopic error from APNs.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant