forked from phonegap/phonegap-plugin-push
-
Notifications
You must be signed in to change notification settings - Fork 283
Open
Labels
androidRelated to the Android platformRelated to the Android platforminfo-neededFurther information is requestedFurther information is requested
Description
I have a Cordova project
This is my code:
try{
alert(window.PushNotification)
var push = window.PushNotification.init({
android: {
senderID: this.$appInfo.NotificationSenderID,
},
ios: {
alert: "true",
badge: "true",
sound: "true",
clearBadge: true,
},
windows: {},
});
}catch(e){
alert(e)
}
This code in iOS is working but not working in android
It will alert ‘undefined ’
I try anyway as I can search but didn’t find solution
Can any give any solution can fixed it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
androidRelated to the Android platformRelated to the Android platforminfo-neededFurther information is requestedFurther information is requested