Answer the question
In order to leave comments, you need to log in
How to enable PUSH notifications in IntelXDK?
Greetings! I am making a hybrid application using intel xdk, I managed to connect the camera, but there is a problem with push notifications. Connected phonegap-push-plugin, connected to google apis. Created a project in google apis. Gives an error (below)
document.addEventListener("deviceready", function(){
var push = PushNotification.init({
android: {
senderID: "xxxxxxxx"
}
});
PushNotification.hasPermission(function(data) {/* ошибка PushNotification.hasPermission is not a function*/
if (data.isEnabled) {
console.log('isEnabled');
}
});
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question