This is a migrated thread and some comments may be shown as answers.

Push Notification Issues

12 Answers 164 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Richardsonke
Top achievements
Rank 1
Richardsonke asked on 22 Apr 2013, 03:23 PM
I have push notifications set up in my app now (thanks for adding this and for the tutorial!).  The notifications pop up on my android and iOS devices, but there are a few things that are not working as expected.  Results of push notification:

Android:
  • App in Foreground - OK - No notification in notification tray, onNotificationGCM called with e.foreground = true
  • App in Background - Bug - Notification shown in notification bar, clicking notification foregrounds app and onNotificationGCM called with e.foreground = false.  Notification does not disappear when clicked, only if swiped away.
  • App Not Running - Bug - Notification shown in notification bar, clicking notification does not open application - sometimes it will flash a black screen for a second, but will not actually open.
iOS
  • App in Foreground - OK - No notification in notification tray, onNotificationAPM called with e.foreground = 1 (odd that Android uses boolean, and iOS uses an integer, but it works).
  • App in Background - bug - Notification shown in notification bar, clicking notification foregrounds app and onNotificationAPN called with e.foreground undefined (odd and different from Android, but can be handled).  Notification does not disappear when clicked, only if you click the clear button.
  • App Not Running - missing event? - Notification shows in notification bar.  Clicking notification opens app, but it does not seem that onNotificationAPN is called at all.  Notification does not disappear when clicked, only if you click the clear button.
The two biggest issues above are that the app is not opening if it's closed when the notification is clicked (not backgrounded, but really closed like force closing or swiping it away in the task switcher).  The other big thing is that it does not seem that notifications are dismissed at all unless the user manually swipes them away (Android) or clicks the clear button (iOS).  Are these issues just with my app, or are they reproducible?

12 Answers, 1 is accepted

Sort by
0
Richardsonke
Top achievements
Rank 1
answered on 22 Apr 2013, 05:13 PM
I was able to reproduce all of the issues I mentioned above on two different Android devices (both Jelly Bean) with the example application from the push notifications blog post.  Notifications don't disappear when clicked and if the application is fully closed, clicking on the notification doesn't open the application.

Setting up all of the certificates and everything required to get the demo app running on iOS would take a lot of time, so I haven't tested it there yet.  
0
Steve
Telerik team
answered on 24 Apr 2013, 11:28 AM
Hello,

Thank you for the feedback. All of the issues you've listed are reproducible and are bugs of the plug-in itself, which is a 3rd party software and not maintained by us. The best we can do at this time is upgrade the plug-in to its latest 1.2.2 version where some of these problems are addressed, namely the dismiss of the notifications. We would make this upgrade for the upcoming release at the beginning of May.

As for the rest of the problems that are still not fixed, there is nothing we can do on our end, so please comment about them on the plug-in github page directly.

All the best,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Richardsonke
Top achievements
Rank 1
answered on 24 Apr 2013, 02:08 PM
I'm glad that there will be a new version of the PushPlugin in the next release of Icenium.  Is it possible to start doing out-of-band updates for plugins?  Otherwise a show-stopping bug in a plug-in could force us to wait 1-2 months for a fix.  Thanks for considering this.
0
Steve
Telerik team
answered on 24 Apr 2013, 02:20 PM
Hi,

You'll be glad to know we're currently working on support for pluginstall-compatible Cordova plug-ins, so once this functionality is introduced, it would be up to you (the developer) to choose which plug-ins to use and maintain them to up-to-date version.

Greetings,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Richardsonke
Top achievements
Rank 1
answered on 24 Apr 2013, 02:21 PM
Thanks!  That's perfect.  Is that expected to be in the May release?

-Keith
0
Steve
Telerik team
answered on 24 Apr 2013, 02:31 PM
Hi,

Nope, it's a work in progress and there is no specific date already in mind. Support for any pluginstall-compatible Cordova plug-ins is not trivial and requires a lot of effort, so we cannot engage with a time frame at this point.

Kind regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Richardsonke
Top achievements
Rank 1
answered on 10 May 2013, 08:35 PM
Sadly, as you warned before, 1.2.2 doesn't fix all the issues.  Tapping on a notification on Android now dismisses it, but on iOS tapping on it opens the app, but the notification remains.  Also, on Android if you exit an application using the back button, tapping on a notification is now able to open the app.  However, if you restart your device or close the app in the task manager, it is still unable to open the app.  I was able to work around the latter issue by editing a couple files in the APK (I have to do this every time I publish though).  

The big problem is that I'd _like_ to push fixes to the PushPlugin on GitHub, but it would require setting up full Android and iOS development environments to custom build PhoneGap applications in order to develop/test the plugin, negating much of the purpose of Icenium.  I did post to the GitHub commit where they made the Android notifications auto-dismiss asking if they could do the same for iOS, but haven't heard back yet.  If it gets fixed, how quickly would the PushPlugin be updated in Icenium?  Thanks.
0
Steve
Telerik team
answered on 13 May 2013, 08:59 AM
Hi Keith,

There is a lot of interest around the PushNotifications plug-in, so as long as the new version passes our internal acceptance tests during each release, we can update it on regular basis. Hopefully we would have the support for pluginstall-compatible plug-ins available for subsequent version, so we do not have to.

Greetings,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Richardsonke
Top achievements
Rank 1
answered on 10 Jun 2013, 03:21 PM
Is there any chance you can update to PushPlugin version 1.3.1 that's now on GitHub?  It supposedly fixes the issue where notifications are not dismissed in iOS: https://github.com/phonegap-build/PushPlugin/issues/10.  Thanks.
0
Steve
Telerik team
answered on 11 Jun 2013, 07:36 AM
Hello Keith,

As you've probably read or heard already, we're going to release support for custom plugins for the upcoming Icenium version at the end of the month. This means that you would be able to use whichever version of a plug-in you wish. At that point we would probably stop updating the existing built-in plug-ins.

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
0
Richardsonke
Top achievements
Rank 1
answered on 21 Jun 2013, 12:54 PM
Is Icenium still on target to ship custom plug-in support by the end of the month?  If so, I will delay my app's release until that point.  Thanks.
0
Steve
Telerik team
answered on 21 Jun 2013, 12:57 PM

Yes, Keith, custom plug-in support is coming with the 1.6 version next week, so stay tuned!

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Tags
Report a bug
Asked by
Richardsonke
Top achievements
Rank 1
Answers by
Richardsonke
Top achievements
Rank 1
Steve
Telerik team
Share this question
or