This feature did not work in my code, I’m trying to get the token device on iOS but it still fails.
ionic.Platform.ready(function() {
window.plugins.pushNotification.register(
function(token){
alert(token);
},
function(){
alert('Error al registrarse en el servidor APNS');
},
{
"badge":"true",
"sound": "true",
"alert": "true",
"ecb": "onNotificationAPN"
});
});
Nor send me any errors, testing with gapDebug. Can anyone help me with this error?
Thanks