Push Notifications not coming when published on test flight - ios

I have tested push notifications as a developer account and it worked, But when I tried to put it on TestFlight for the testers to test it, it didn't show a push notification but the data is correctly received. So is there a kind of certificate that I need to generate for TestFlight or there is some issues in my profiles?
Push notification works when I install the app through XCode, but when I install it from test flight it is not working.

Problem is that your are using development APNS certificate.
For TestFlight users you need to send push notifications with production APNS (because when your are creating archive of your project, it's generated with release build settings). You can generate it in apple's developer portal: in your application settings page.

Yes, GhKaren is right. You have to use Production APNS when you upload app on itunesconnect and distribute it on Test-flight.

Related

Push notification work on Release build, yet not after uploading to TestFlight

Building with scheme configuration Release, I manage to get Push Notification (I've generated prod and dev certificates).
But after releasing to TestFlight, not receiving pushes any more, same exact build.
Any idea?
I'm using Firebase FCM for push notification, do not think it has anything to do with this, since push do work when building Release from Xcode on device.
This is so strange, I've just revoked distribution certificate on apple developers portal, re created certificate request and certificate, and now it works both on build release, and on TestFlight.

Quickblox sending push notifications to development devices, but not to production devices on iOS

I've been working on an app for a while that uses push notifications from the chat module of QuickBlox.
I've been testing the push notifications on my iPad and it works fine (Developer Device). I've added both of the certificates to QuickBlox and both are active(Developer & Production).
The production devices are being registered for remote notifications and they are showing that they registered for production push notifications. When I send a message to a developer device it receives the notification and it works fine, however when I send to a production device its not received.
If I try to send a push notification to production users from the admin panel it gets sent, but non receive it. The production users are internal and external testers in TestFlight. I heard the TestFlight testers have to use a production certificate so thats why I'm registering them as so. When I archive the build going to the store I make sure that I do it using the production provisioning profile. I don't know what else to do :O
Thanks in advance
edit: I tried using push notification tester for the certificate and it worked fine. It pushed and the push notification was received to the production device. Still not working on QuickBlox
I tried to remove the certificate and then add it again, but that didn't help. I had to revoke my certificate then create a new one. After I added it, it took a good few hours until the notifications started to work. Must have been an issue with QuickBlox.

Push Notifications for External Beta Testers

How do I allow push notifications to start working for my beta testers. At the moment, my phone is the only one that can receive push notifications since I have gotten a certificate for it. My app ID has a certificate for development and distribution.
I am using external testers and I'm using Parse.com to send push notifications. The logic with sending the push is working, but they are still not getting received on anyone's end but mine.
Do I actually have to add everyone UUID to a certificate even for external testers?
No need to add UDID for external tester. You can upload application on iTunes and distribute it via Test flight with external tester. Once you upload application on iTunes, you can upload .p12 file of production. Once you follow above steps, you can test Push Notification for External Tester.

Apple's TestFlight and Push Notifications

I'm working on an app and testing it with my partners via Apple's New TestFlight. I've never had issues with the old TestFlight system but now all of a sudden if I install the app via USB Cable & Xcode notifications come streaming in.
However if I install via Apple's TestFlight notifications never get delivered.
I'm using Parse for notifications and again have never had any problems. Anyone else have any issues or advice? Pretty frustrating.
Ok. Well it would seem that Apple's New TestFlight considers any version pushed "production". Therefore you must have a production certificate generated as well. Best best is to use an AdHoc Provisioning Profile which will use the production push certificate. Don't use a Development Provisioning Profile with a Development Push Certificate.
The more you know...

iOS -Urbanairship push notification on production not working

I'm trying to implement push notification for an iPhone app using Urbanairship.
So, when I'm using ad hoc build (which is a different cert file), when I go to settings > notification, it is showing up there just fine.
However, with the app version that I put up on iTunes, I don't see my app name when I go to settings > notification. Neither did I get the popup that says, "Hey this app is going to send push notification, allow or disallow".
The only thing I can think off that might cause it is that, while in review, the SSL certificate expired. We have renewed that, but still no luck.
According to this link, How do I renew the SSL certificate for my ios push notification provider?, I don't have to resubmit. Or do I?
Thank you,
Tee
You need to create and issue a Production push cert. Then upload that to urban airship, and switch everything to use that cert for production mode.

Resources