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.
Related
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'm fairly new and this was the first time i submitted an app.
So i have an app thats already in the app store. I had push notifications set up and it work when i tested it for the ad hoc distribution using the production certificate.
I did another provisioning profile for the app store and submitted it. Strangely after the app got approved some provisioning profiles disappeared . After being in there for awhile they came back but the push notification setting was turned off even the production ssl certificate for push notif was gone.
Now, Push notifications are not working.
Tried generating another ssl cert and the whole keychain exporting stuffs but it still doesnt work.
I don't know if the app, submitted has the profile with the push notification settings on.
Is it possible to add push notifications to that app? If not what is my best solution here?
No if the App submitted has not been signed with a Push Notifications Profile , then you pretty much can't do any thing about it, You may have to resubmit an entire new Version with a different Provisioning Profile with Push Notifications enabled,
Did you check the server you are trying to connect to when you send the push notifications?
Remember that there are more than 1 server :
ssl://gateway.push.apple.com:2195
ssl://gateway.sandbox.push.apple.com:2195
ssl://feedback.push.apple.com:2196
ssl://feedback.sandbox.push.apple.com:2196
It seems that some migration script went wrong on Apple's server. Your best bet would be to contact Apple support and explain your problem to them. May be they can do something for you.
Even after creating a new push notification certificate you would not be able to enable the push notification for the app already present on app store. Since the certificate is regenerated, you would need to update your profiles too and then use them to prepare a new version for app store.
I think the problem was that the devices that i tried had the app built on them from xcode. Because it worked for other devices that i never used xcode with. After removing all the related provision profile from the device itself, located in the settings menu of the phone, reinstall the app from the store then it started to work.
I had the Push thing done over with at Parse.com (It was working and all) and then I was asked to create an account on parse for the company and set them up so they can manage it on their own. Well, not realizing that there was a Export button on the website, I deleted the app on my account and created an account for them and added the app to their account. I added all of the correct Certs and updated the App and Client keys and it wouldn't send it,and On the Push Notifications tab, it will show that i have recipients (My test Devices) but when I hit send, it will say Done, but nothing will appear on my device. So, being not too smart, I deleted that app and recreated it on my account (Thinking there might be something wrong with the other account). Well now it won't even work on my account. I have created all new certs and everything and i can't figure out why it is not working.And again, On the Push Notifications tab, it will show that i have recipients (My test Devices) but when I hit send, it will say Done, but nothing will appear on my device. Help?
My thought about what it might be is that the device is remembering the APNS Permission from the old account, Could I be Right?
I ran into this a while back. For me it was the difference between developer builds and release builds. You'll see in Apple's provisioning portal that there are 2 push certificates you can set up for your app. One is for production release and the other is for developer testing. When you build your app for testing it automatically looks for the developer cert. When you do a release build it looks for the release cert.
So... Make sure you have uploaded the correct push certificate to Parse. In my case Parse would say that messages had been sent to devices but I never saw them come through because Parse was sending them to Apple with a certificate that did not match my particular build type.
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.