Post

Replies

Boosts

Views

Activity

Push notifications do not work for Apple Store's app version
Hello fellow devs; This was already somewhat covered here. My situation is slightly different. https://developer.apple.com/forums/thread/117022 I've been working on my app for a while and got push notifications to work. When I uploaded to the App Store, I noticed that any copy of the app that came from the store was unable to receive a push notification. I see this in the logs... ERR! parse-server-push-adapter APNS APNS error transmitting to device [foo] with status 400 and reason BadDeviceToken It's specific to a device. My dev devices all receive notifications. I'm using the Parse Platform's parse-server-push-adapter to send the request. The difference between my situation and the one mentioned above is that I'm using the Key method as opposed to the Cert method. When I generate a Key via my Apple Dev account, there is no place where I'd select development vs production as is the case when generating a cert. If the Key method is used, does that mean a user can never receive a notification if downloaded from the App Store? I see no such warning in the docs, and that wouldn't make sense anyway. I set APS Entitlement to "production" instead of "development". It still made no difference. I changed the way my app is signed. I had been using automatic signing with a dev cert for the app itself, and that was distributed to the App Store. I changed to a Prod cert and created a profile. Not sure if app signing has any effect on receiving a notification. I have yet to see if this change fixed anything as my app is in review. What does downloading the app from the App Store change that would have an effect on receiving remote notifications? Is there a guide someplace, a checklist, for altering your remote notifications config for use in the App Store. Thanks in advance; -Chris
1
0
1.7k
Jan ’23