Answered
Don't receive push notifications on iOS with Cordova SDK
Hello guys! We've got a problem with receiving iOS push notifications(We work with Cordova SDK). We set APN Auth key and after that we initialize device, receive registration id from APN, but still can't' receive notifications on device.
Commands we used:
Countly.init("https://us-try.count.ly","our_app_key");
Countly.initMessaging({"messageMode": Countly.messagingMode.PRODUCTION, "projectId": "gcm_id"})
Countly.start();
var push = PushNotification.init({
android: {
senderID: "gcm_id"
},
ios: {
alert: "true",
badge: "true",
sound: "true"
}
});
push.on('registration', function(data) {
Countly.onRegistrationId({
"registrationId": data.registrationId,
"mode": Countly.messagingMode.PRODUCTION,
"projectId": "gcm_id"
})
console.log(data.registrationId) // here we get registrationId
});
On dashboard we have something like this
Could you help with it?
Comments
Ok, I will make a video tutorial to demonstrate push implementation with SDK js.
Thanks
Please create an issue to better handle this request.
Thanks
Ok, I will create an issue in Cordova SDK github!
Thanks!
@trinisofttechnologie Here is the issue https://github.com/Countly/countly-sdk-js/issues/28
@trinisofttechnologie Hello!
When could we get this tutorial?
@panderium
Please look at this link
--https://drive.google.com/open?id=1xJnuWUw5DCY_KEVVQIb2oHNV7BhclK62
and the issue that was created.
A tutorial is provided to walk through push notification.
Thanks
Thanks for sharing this valuable information. This is very useful to everyone
Please sign in to leave a comment.