cwRichardKim
cwRichardKim

Reputation: 1060

Push Notifications not working in Testflight

Similar to this post, push notifications works on development, but does not work through testflight. Here are screenshots of my certs:

Using Heroku and "node-pushnotifications". It works on development, does not work on testflight. APN_key.p8 and serviceAccountKey.json are in there as well.

I've been working on this all day and been scouring the internet for answers but have yet to find any. Any ideas?

Upvotes: 5

Views: 6865

Answers (2)

Aaron Halvorsen
Aaron Halvorsen

Reputation: 2680

I was having the same issue with my Firebase project when going from development to testflight production. Changing my APS Environment value to "production" solved this problem for me.

enter image description here

Upvotes: 13

cwRichardKim
cwRichardKim

Reputation: 1060

Issue resolved! we didn't properly set up our node environment in the server (needed NODE_ENV=production)

Upvotes: 0

Related Questions