taivo / parse-push-plugin

Push notification plugin for Cordova/Phonegap/ionic on Parse platform
118 stars 102 forks source link

ionic 2 how to import parse push plugin #113

Open stevenballs opened 7 years ago

stevenballs commented 7 years ago

when i install cordova plugin add https://github.com/taivo/parse-push-plugin --save i run command , cordova build android in ionic2. Subproject Path: CordovaLib Error: Cannot read property 'get' of null

avilasolucoes-naora commented 7 years ago

try ionic cordova plugin add https://github.com/taivo/parse-push-plugin

renanosf commented 6 years ago

I'm also having the "Error: Cannot read property 'get' of null"

Trying "ionic cordova plugin add" is unable to finish plugin installation

georgesmhanna commented 6 years ago

I had the same issue.. all you have to do is add the following preference in config.xml: <preference name="ParseNotificationIcon" value="android_notification_icon" /> Make sure the other preferences are also included (ParseAppId, ParseServerUrl, ParseGcmSenderId). Also make sure to put a png icon inside the resources folder.