Skip to content

'Counts' value returned is wrong for IOS #814

@Helios6221

Description

@Helios6221

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.
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions