Search code examples
iosgoogle-cloud-messagingcordova-plugins

Do I need to register to APNs to use GCM Push notifications in iOS?


I am building a hybrid APP with cordova. I am using the phonegap-plugin-push to register to GCM so i can push notifications to Android.

My question is if i need the APNs certificates to be able to use GCM in iOS, or if with the plugin alone and the registration to GCM is enough?


Solution

  • Short answer, Yes. You must then upload your APNs Certificate to GCM. Check out this Route 85 video about Sending Notifications on iOS through GCM.

    Other useful links for you:

    Possibly similar post: iOS support for Google Cloud Messaging