Countly / countly-sdk-cordova

Countly Product Analytics SDK for Cordova, Icenium and Phonegap (Archived, Sunsetted)
MIT License
66 stars 51 forks source link

Rich push notifications not working on Cordova #23

Closed gorkem-cetin closed 6 years ago

gorkem-cetin commented 7 years ago

Rich push notifications tested on HTC One M8, Samsung Galaxy S6, LG G5 and iPhone 6S devices – same result.

rajeshyandamuri commented 6 years ago

Hi Gorkem,

Regular notifications also not working for us. We have integrated Native iOS SDK and its working fine. While we use it in Cordova ionic project(Android + iOS) the general push also not working. Please share us any step by step provess to integrate in mobile cross platform (Angular + ionic).

Thanks in advance.

trinisofttechnologies commented 6 years ago

This is the same issues as this one

https://community.count.ly/t/ionic2-couldnot-install-sdk-for-android/294/18

https://community.count.ly/t/push-notifications-angular-application-for-ios-android/301

All these will be counted as one issue.

trinisofttechnologies commented 6 years ago

Please install this plugin https://github.com/phonegap/phonegap-plugin-push

and make sure you are able to register your device and get a push token

https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/API.md#pushonregistration-callback

Use this method to verify you are able to get push device token.

If you are able to get the push device token then countly sdk can just send that push device token to the countly server.

Let me know how it goes, so that I can assists you on the next updates.

Thanks

gorkem-cetin commented 6 years ago

As a side note, rich push notifications work on Android but not on iOS (due to framework used).

anilo commented 5 years ago

Any update on rich push notification on iOS?

gorkem-cetin commented 5 years ago

Unfortunately the 3rd party library we used for this purpose doesn't yet support rich push notifications for iOS, hence we don't support. We are always keeping an eye and as soon as this feature is released, we will implement.