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.
Related
We built an iOS app using Swift 4.x in Xcode 10.1. The app get push notification in my development iPhone 6 very well from other devices.
We published the app to TestFlight for beta testers. They install the app from TestFlight and get prompt to allow Notification. All went well. When they send me a message, I get Push Notification without any problem in my iPhone 6. But when I send them, no notification pops up on their screen.
Is it something related to code signing? Or what else I should check for.
Your suggestion is highly appreciated.
You need to replace the Push certificate on your Push API server. APNS Distribution certificate is to be used in your case.
for that,
you need to export that certificates from keychain as a .p12 Or .pem file and add it to server API( API which you are using to send push notification). and you will need to set push notification mode in server API to release mode to get push notification in testflight build.
you can export certificates of push by following steps in this link:
https://medium.com/#ankushaggarwal/generate-apns-certificate-for-ios-push-notifications-85e4a917d522
I'm trying to implement VoIP notifications into my app following this tutorial: http://pierremarcairoldi.com/ios-8-voip-notifications/
I'm making an app that will be distributed internally with an Apple Developer Enterprise program (in-house deployment).
I followed every step of the tutorial and I've tried to send notifications using a development provisioning profile. All works normally and I'm able to receive those notifications.
The problem is when I switch to an In-house provisioning profile. The app finishes to register the VoIP token with the server correctly, but when I send notifications through houston with the new token nothing happens, including the fact that the app doesn't enter in the pushRegistry:didReceiveIncomingPushWithPayload:forType: method.
Are there any limitations of this feature when using in-house profiles or am I doing something wrong?
Thanks in advance!
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.
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.
If I share an ipa file to test my iOS app on colleague devices, are push notifications going to work ?
Do I need to register any new colleague profile / submit the devices on which the app is going to be installed ?
thanks
You need to sign the app with the same certificate created when you enabled Push Notifications for the app. When the testing user installs that app and accepts push notifications for this app, they will receive them, simple enough.