Whenever I try to push a message to a registered device using the Push for iOS8 Bluemix dashboard, a message "The notification was sent." is displayed but my registered device never receives the notification.
According to the logs of my application, the device seems correctly registered to the Push for iOS8 service, and I'm also able to send push notifications to my device using https://github.com/nomad/houston (using the same certificate that I uploaded to the Push for iOS8 service, but converted to the .pem format).
My device is an iPad mini 4 running iOS 9.0.2.
Try this to test the push notifications.
NWPusher
Also check your device tokens, if you are getting them properly.
Above mentioned github link will help you to setup all.
Fix was provided by the bluemix team: the name of the certificate uploaded for the sandbox needed to have "sandbox" in its file name (example: my-certificate-sandbox.p12). That solved the issue.
This seems to be a duplicate of a previously answered question.
Please see the following:
Bluemix Push Notification service not working anymore?
Related
Facing some issues trying to get push notifications sent to an app downloaded from app center. I have noticed that the device token being sent to our registration service depending on which build I use (direct build from xcode vs download from appcenter). The deviceToken from the xcode build is able to receive push notifications but nothing comes in from the appcenter build. Both are using the same p8 certificate and appId. Any help is appreciated, Thanks.
Check if you have configured the production certificate properly inside the apple developer app settings (inside apple account) and inside the Push Notification Sender Party. That what causing you to not receiving notification.
You might have configured only development certificates.
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 am trying to send the push notification form Parse.com. I have tried sending it from website and through my app.
Basically I am in India and my friend is in California. When I try to deliver the push notification to me, it is delivered. But if I try to do the same for my friend,it is not being delivered...
Both of us have same iOS version, approved push notifications, etc..
I double checked my coding, certificates. Everything is perfect. So I wonder since I am using developer certificate will it only be delivered in my nation? Or what else could be wrong?
I could add my code here, but sending Push from website also delivered only to me but not to him...
I got the following error when I try to send a push only to him.
I think the issue is I am creating an ipa file of my app and send it to him through diawi.com. I run the app in y mobile though cable.
If I install the app in my device through ipa link, the push notification is not delivered. So the issue is with diawi.com?
Similar issue: check this question
Actually the issue was in the middle. After a lot of searching I found the answer:
For push notifications in Parse, I have only uploaded my developer certificate and it was working for iOS 8 versions. We recently upgraded to 9 and the push not delivered for ipa.
I have uploaded distribution certificate to parse and there you go... Push delivered.
But now I am unable to access contacts in ipa but can access if build via cable... I will look for an answer for this issue.
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.
I have currently set up Parse Push notifications. I am running a beta with a few of my friends, and it seems that I am the only iPhone is that able to receive push notifications. The badge increments, sound and message, all is there for me.
On the Push tab in Parse the "Pushes Sent" column shows "1" for pushes sent to my iPhone, and "0" for Pushes sent from my iPhone.
We are all using the same build. And all have set notifications on in settings.
Any ideas why this is happening?
First of all, as your app is in Development Mode you should register your friends UDID'S in the Apple Developer Portal Devices Section.
Once you have done that, you should generate a new Development certificate now including your friends devices so they are also signed to receive the same services as you.
Check out one more time the Parse Certificates Tutorial and make sure you are signing your app with the correct certificate and uploading the correct one to Parse Push Settings.
When installing the app please also make sure the certificate is the updated one and you are signing with it.
Hope it Helps.