Amit Dangwal Amit Dangwal - 11 months ago 90
Android Question

Phonegap Push notification to ios using GCM

I need inputs on which plugin to use to make the ios push notification working with GCM. I am using phonegap, sencha touch 2.

I have configured GCM, provided the p12 , pem for development. My ios certificate is correct as I am able to send notification to ios through certificate generated using APNS with same p12(pem) file. Phonegap push notification library which I am using is not supporting the ios GCM notification(it supports native ios and gcm android).
I am using :

I found that there is another plugin which does offer new ios GCM integration. Here is the one I found:

When I try to include the plugin in config.xml then build fails.

build fails with message as

The following build commands failed:
CompileC build/ God/Plugins/cordova-plugin-gcmpushplugin/GCMPushPlugin.m normal armv7 objective-c
(1 failure)

I am not sure if it is failing as if plugin does not exist ? Anyway my question is which phonegap push notification plugin to use which support ios and android both through GCM.

Please share some pointers on this.


Answer Source is outdated and Adobe Phonegap build does not support it (last support till November 2016). So now using a different phonegap push notification(phonegap-plugin-push) plugin which is supported.

This is working with sencha touch and phonegap build. Notifications are working with GCM, APNS on ios and android