2

I have successfully tested an azure apns hub in sandbox mode. Now when I try to switch over to production, nothing works. I have read the tutorials, and i'm sure that I generated the production certificate right. Does anybody have an idea what the problem would be? At some point I think I have read that while I was using an Iphone to test the sandbox apns, it may not work after switching to production.

Codor
  • 17,447
  • 9
  • 29
  • 56
Alex Maie
  • 269
  • 3
  • 13

1 Answers1

3

After debugging some more, I figured out what the problem was. I had to run my application with the production certificate. That means, that I could not test the production APNS running the app through Xcode, since xcode would automatically install the development certicicate that is linked to the sandbox apns. Run the app outside of xcode, with the production certificate.

Alex Maie
  • 269
  • 3
  • 13