Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

  • Certificate of type iOS Distribution enter image description here
  • App ID. Named (not wildcard). Push notifications enabled for both Development and Distribution - green lights - with all SSL certificates genereated and uploaded enter image description here
  • iOS Distribution Provisioning Profile, that usese the above mentioned Certificate and App ID as well as lists Push Notifications among enabled services enter image description here
  • distribution and adhoc signing enter image description here

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?

like image 231
cwRichardKim Avatar asked Apr 20 '17 02:04

cwRichardKim


1 Answers

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

like image 157
Aaron Halvorsen Avatar answered Sep 27 '22 00:09

Aaron Halvorsen