User push notifications in cordova 3.3

后端 未结 3 1262
攒了一身酷
攒了一身酷 2021-01-25 11:42

I want to implement notifications in android using 3.3 cordova, I\'m new at this. I have tried several tutorials but without success. Could explain a simple way to implement it

3条回答
  •  -上瘾入骨i
    2021-01-25 12:26

    You can copy/paste the instruction on this link .

    https://github.com/Pushwoosh/phonegap-3-sample-app

    The files you need are : copy the index.js , to add pushnotification.js into your index.html , to add the plug in pushwoosh to config.xml and the important thing is API ID from google and the ID from pushwoosh , those two ID you can put in the index.js for IOS and Android .

提交回复
热议问题