Search code examples
ioscordovapush-notificationsencha-touchcordova-plugins

How to install phonegap-plugin-push in IOS


I am new in IOS push notification, I try to install phonegap-plugin-push in my IOS app but it send error "required sender id". I am little bit confuse that in sender ID what I put there.

Platform: IOS Cordova CLI version: 5.1.1 cordova plugin version | grep phonegap-plugin-push :1.7.4


Solution

  • Use following command

    cordova plugin add https://github.com/phonegap/phonegap-plugin-push --variable SENDER_ID="12345"

    It worked for me on iOS.Hope it helps :)