I had an app that used the apns with my account certificates .. the owner of the app created a new apple account and i should transfer the apns to it
I make the steps that i did many times but it's not working
I'm using Rails rPush Gem for my server side and it tells me that the notification has been delivered but I got nothing on the phone itself .
Is there any specific steps to do so?
FOllow this tutorial
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
you will get a file named simplepush.php, add your Device token in the field of $devicetoken and your pen file and run the script if you get the notification then thee is no problem with your certificates
Related
Since yesterday (21.2.2018) we receiving InvalidApnsCredential while sending push notification to ios devices over GCM. We checked certificate base on https://developers.google.com/cloud-messaging/ios/certs and both certs (for development and production) are valid until feb/2019..
I'm curious if something changed on GCM side .. couldn't find anything plus we didn't change our server side.
So after email conversation with google support I have to transfer project to firebase (without changing server app.).
On the console (enter link description here), select 'Add project'.
Click on 'Project name' drop-down.
Select the project configured with GCM.
Click on 'Add Firebase'.
Then recreate .p12 file based on these steps : enter link description here
I want to send notifications to ios device using amazon sns service
but the code return Platform application is disabled
how can I fix it
I check the expired date of p12 files using getPlatformApplicationAttributes method in the SnsClient
then I update the file of p12 now it work fine .
This error is caused when the p12 file you have uploaded to AWS is expired.
So go to AWS, create new one and follow the instuctions from the url below.
https://medium.com/#rajanmaharjan/create-push-notification-platform-for-aws-sns-ae6c845735b4
I also had this happen when I tried to send a notification to a device I did not have access to send to just FYI so it doesn't have to be just the cert that is wrong
I am using parse.com services.
I understood how to send push notification from one app id to the same app id, works well, but i would like to create an app called " host app " which will send push notification to the app called " guest app ", how does the certification and installation work ?
2 AppID, on .p12 certificat for both, 2 application Id on parse.com ?
Moreover, can I send APN from dev app to production app ?
Thanks for helping me,
You can have multiple apps created in Xcode that use the same parse app id. You can put a column in the installation table to filter by a specific app and only send pushes to that one.
I'm still new to iOS dev.
And I'm very, very new to whole APNS idea. I followed many tutorials, and didn't go so well.
I'd like to ask some questions.
Can I use same .certSigningRequest file for dev/dist/apns certificates? Does it matter if some of this certificates from this .certSigningRequest have been revoked?
When I export my key in keychain to .p12 file, can I use this one for both dev/distribute version?
If my server open port 2195, by giving .pem generated from above cer, my server should be able to send push message, right?
How can I unsubscribe/unregister from my device and/or from server/apns service? I mean when I need to remove, and try to build&run the code again.
4.1 How does
[[UIApplication sharedApplication] unregisterForRemoteNotifications];
really work? Does it tell apns not to send message/just turn it off? How can my server/provider know if device need to unsubscribe?
I find this tutorial really useful: http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
And here some questions I have about what I encountered.
1. The sample app from the tutorial worked fine, using both my laptop & my server to send a message. But after a few days, it doesn't. (the response is still 'Connected to APNS Message successfully delivered', but the message never reach my device)
What could be the cause? My friend have revoked a dev cert? (I shared acc. w/ my friends) Or I reinstall the app? I also tried method unregisterForRemoteNotifications & register again, but nothing happens.
2. I also tried https://apphq.shephertz.com for a provider. This one requires .p12 key file in their format. (link) I have another project (this one is unity) register apns thru the app. It seems fine since I can see device token & user store in the web. But when I tried to send message, I got an error, like
iOS KeystoreException Device ID : <my-device-token> : Invalid keystore password! Verify settings for connecting to Apple... Does anyone know what this mean?
Sorry for my poor English.
I am trying to add pushwoosh through marmalade to mobile application (at the moment on ios device). Like on
http://www.pushwoosh.com/programming-push-notification/marmalade-push-sdk-integration/
I have add to Info.plist
<key>Pushwoosh_APPID</key>
<string>1****-A****</string>
(I create app on pushwoosh site adn copy code to Info.plist but I didn't configure anything for ios on site, there is nothing about that in tutrial)
But when I start application I get info
Response "200 no error": string: {"status_code":210,"status_message":"No push token given","response":null}
It enters ad OnRegistered callback but token is empty. Does anyone what is wrong ?
( I done like on tutorial link, there is no need to do anything with certificate in tutorial)
The provision profile you use must have push notifications enabled on that. You need to edit the mobilepovision from the Apple developer portal and add push notification.
"Blockquote I done like on tutorial link, there is no need to do anything with certificate in tutorial"
Have you configured Pushwoosh for your application according to Pushwoosh iOS configuration guide?