Bader H Al Rayyes
Bader H Al Rayyes

Reputation: 522

android phonegap notification status bar shows nothing

I am trying to display a notification msg on android simulator device by using Phonegap plugin called StatusBarNotification, LINK, I followed the instrucations to the word, but when I deploy my application nothing shows in the status bar,

What's confusing me is I do not know where to put my notficiation syntax call which is:

window.plugins.statusBarNotification.notify("Put your title here", "Put your message here");

What should I do to fix this?

Upvotes: 0

Views: 2585

Answers (1)

papaiatis
papaiatis

Reputation: 4291

what about this:

<a href="#" onclick='window.plugins.statusBarNotification.notify("Put your title here", "Put your message here");return false;'>Click me!</a>

Put this code into your web page.

Upvotes: 5

Related Questions