Which local notification plugin should I be using with phonegap build? [closed]
Asked Answered
S

2

16

It appears that there are four different 3rd party plugins to accomplish local notifications listed within phonegap build:

https://github.com/GotCakes/Phonegap-LocalNotification/

https://github.com/javamrright/cordova-plugin-local-notifications/

https://github.com/simplec-dev/LocalNotification/

https://github.com/katzer/cordova-plugin-local-notifications/

(from https://build.phonegap.com/plugins)

I've been using the last of the four (de.appplant.cordova.plugin.local-notification) but I'm curious to know (1) whether one of the other packages is the preferred solution and (2) why are there four independent projects within phonegap/cordova to accomplish the same task...?

Sharper answered 23/3, 2014 at 7:1 Comment(1)
Who cares Stackoverflow is a central point for technical questions.Inoculum
M
10

This seems to be one of the most active (check contributors/forks etc...): https://github.com/katzer/cordova-plugin-local-notifications

Just tested it myself (Android for now) and it works good.

There are different versions/packages of this extension because for the most part, development of Cordova plugins are an open-source affair. Developers far and wide each have their own ideas and best-practice-know-hows on how plugins should work.

Multiflorous answered 21/4, 2014 at 23:20 Comment(1)
For anyone searching for this more recently - I'm using this plugin and it works well, but development seems to have stalled. 30+ pull requests and the original author is looking for a new maintainer.Wheelchair
M
2

Hi guys in this previous question Local notification in phonegap 3.3.0 you will find documentation and sample code in one of my comments, i'm also providing a beep.mp3 file that you can download and use immediately (which is not provided in the original repo https://github.com/katzer/cordova-plugin-local-notifications)

Hope it helps!

Mireyamiriam answered 7/10, 2014 at 18:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.