Skip to content

Incorrect error: "Topic is not allowed" after sending notification #3

@eduayuso

Description

@eduayuso

Describe the bug
After a sucessfull push, if you try to send a second push with another certificate, bundle id, etc. an error "Pushing to this topic is not allowed". So you have to restart the app and then try the last push and now it works.

To Reproduce

  • Fill the form with a p12 credentials authentication, passphrase, and the other needed data, and check that the push is sent successfully.
  • Now try another app (different bundle id, certificate and device token) and the app throws the error "Pushing to this topic is not allowed".
  • Restart the app and send the last push, now there is no error, the push is correctly sent.

Expected behavior
The app have to be able to save multiple push configurations and be able to test different app pushes without close and restart the app, simply switching between the configuration, or changing the current configuration.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions