-
Notifications
You must be signed in to change notification settings - Fork 1.9k
How to Implement Push Notification in iOS ? #124
Comments
@Chitranjanbariya on iOS you don't need to send the apns app id as part of the options. You just need to make sure your iOS certificate is setup correctly. There is a good tutorial over here: http://code.tutsplus.com/tutorials/setting-up-push-notifications-on-ios--cms-21925 |
thanks @macdonst the tutorial helped alot |
@Chitranjanbariya i`m just starting with push notification, this is my experience so far: you can use the tutorial that @macdonst spoke http://code.tutsplus.com/tutorials/setting-up-push-notifications-on-ios--cms-21925 you can use this tutorial too: http://www.apptuitions.com/generate-pem-file-for-push-notification/ this line will have the .pem file directory: $passphrase = the .pem file password (step 8 from the last tutorial) |
Hello, |
@colonna-mike yes... but i`m not sure about that, because i haven't made tests on a production app, only on development using a localhost server. @macdonst can you aswer this question? |
The only thing needed on the app itself for push notifications to work on iOS is to sign it with proper certificates and provisioning profiles, generated with a valid push notification certificate. The pem/key files need only to go on the server, you'll need to feed them to the APNS api to send notifications. |
thanks @fredgalvao |
Hi Guys, I've configured the APNS certificate for iOS and obtained the GCM API KEY and SENDER ID for iOS (are the same of Android) the issue is that the notifications arrives in android devices but not in iOS. during the debugging of my server implementation with GCM I can see that the issue seems to be with the following error: "invalidRegistration" (from GCM) but the register id seems to be correct, can this issue be related with the APNS certificate configuration in XCode? Any help will be appreciated a lot! Best regards |
This thread has been automatically locked. |
Please give me a step of How to create in IOS. How i put apns app id in this.
please help me.....
The text was updated successfully, but these errors were encountered: