1 Reply Latest reply on Nov 22, 2017 8:41 PM by bernie west

    How to show (and sound) notifications?

    bernie west

      This is my first phonegap app.  I don't need to do a push notification from the server, as the phone app itself generates the notifications.  I'm wondering how I can generate an led, sound and on-icon notification?

        • 1. Re: How to show (and sound) notifications?
          bernie west Level 1



          I've got vibration and a message in the notification tray randomly working via these two:

          <plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.5" />

             <plugin name="phonegap-plugin-local-notification" spec="~1.0.1" />


          but it's really random and becomes more random the less in the foreground the app is (i.e. when it's been locked for a long time they rarely work; just locked, they sometimes work; on homescreen they almost always work).

          Any advice for a fool proof way to get notifications happening properly on Android particularly?