Reputation: 1060
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
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.
Upvotes: 13
Reputation: 1060
Issue resolved! we didn't properly set up our node environment in the server (needed NODE_ENV=production
)
Upvotes: 0