A
A
Alex Raven2016-04-12 14:28:36
Android
Alex Raven, 2016-04-12 14:28:36

Cordova: how to make notification in status bar?

Oddly enough, I can't make a notification in the status bar in any way. Tried different plugins but somehow none of them do what I need. And you need to display a message about new messages in the status line (sorry for the tautology). When you click on this status line, it should go to the application, and the line itself should disappear.
Yes, the app runs in the background ( https://github.com/katzer/cordova-plugin-backgroun... ). I have noticed that some things in the background work differently than if the application is in the foreground.
I also have to add the number of new messages on the application icon ( https://github.com/katzer/cordova-plugin-badge ), but it turned out that this does not work on all versions of android and launchers.
Who faced the need to display notifications, please advise how to solve the problem. The application is ready and works correctly, only with this now there is an unresolved problem.
87e4cadda5874c45898fd06d9a219026.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Raven, 2016-04-21
@alexraven

I managed to do what I intended with the plugin https://github.com/katzer/cordova-plugin-badge

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question