pushPlugin not working properly when started from Notification bar

5 posts, 0 answers
  1. Christoph
    Christoph avatar
    15 posts
    Member since:
    Aug 2013

    Posted 25 Nov 2013 Link to this post

    When I get a push message if the app is not in foreground an event is shown in the notification bar on android. Which is fine and what you would expect.
    But when I tap this notification the app seems to start as I can see logs in graphite but no UI is shown. It seems that the app is started in the bacground somehow. Is there anything I need to considere when using the push plugin?

    Cheers,
    Christoph
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 27 Nov 2013 Link to this post

    Hi Christoph,

    There are multiple issues reported to the Push Plugin github issue tracker that mention foreground problems. If you believe the problem you've encountered is not yet reported there, please open a new issue in the plugin issue page.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Christoph
    Christoph avatar
    15 posts
    Member since:
    Aug 2013

    Posted 27 Nov 2013 Link to this post

    Hi Steve,

    thanks for that links. Going over the issues (actually closed ones) I can see the following: https://github.com/phonegap-build/PushPlugin/pull/69

    That describes exactly my problem but it seems in the version 1.3.3 it is not fixed yet (and also not in the 1.3.4). Looks like I need to use a custom plugin..

    Cheers,
    Christoph
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 27 Nov 2013 Link to this post

    Hello Christoph,

    We would be updating to Push Plugin v.1.3.4 in our mid December release of Icenium, however it seems you're right, the fix is not included in it. What you can do is download the latest version of the plugin from the repo as zip and import it in Icenium as custom plugin (not sure if that is what you meant). Don't forget to disable the built in plugin from the project properties. This way you would have the latest bits.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  5. Christoph
    Christoph avatar
    15 posts
    Member since:
    Aug 2013

    Posted 27 Nov 2013 Link to this post

    Steve,

    yes that's what I meant!

    Chris
Back to Top