Commit 448b220d by Sebastián Katzer

Merge branch 'master' of github.com:katzer/cordova-plugin-local-notifications

parents f9987b7b cc9b3c02
......@@ -51,10 +51,10 @@ More informations can be found [here](https://build.phonegap.com/plugins/413).
#### Version 0.7.0 (22.01.2014)
**Note:** The new way of callback registration will be not compatible with previous versions! See #62
- [feature:] Added new callback registration interface and new callback types.
- **[feature:]** Added new callback registration interface and new callback types.
- [feature:] Added the ability to override notifications default properties.
- [bugfix:] Fixed build failure if iOS/MacOS/Xcode were to old (#68).
- [chance] The message and not the title will be used as the ticker text.
- **[change]** The message and not the title will be used as the ticker text.
#### Version 0.7.0beta1 (17.01.2014)
- [bugfix:] App throws an error on iOS if `message` is null.
......@@ -64,7 +64,7 @@ More informations can be found [here](https://build.phonegap.com/plugins/413).
- [bugfix:] `cancel` on iOS did not work.
- [enhancement:] Added 'hourly' as a new repeat time aliase.
- [enhancement:] Repeat with custom intervals on Android.
- **[bugfix:]** Callbacks are called with the ID as a number and not as a string.
- **[change:]** Callbacks are called with the ID as a number and not as a string.
- [enhancement:] The background callback on Android is called, even the app is not running when the notification is tapped.
- [enhancement:] Notifications are repeated more precisely.
- [feature:] Added `json` property to pass custom data through the notification.
......
......@@ -215,6 +215,13 @@ public class Options {
}
/**
*
*/
public Boolean getOngoing () {
return options.optBoolean("ongoing", false);
}
/**
* Gibt die zusätzlichen Daten als String an.
*/
public String getJSON () {
......
......@@ -126,7 +126,8 @@ public class Receiver extends BroadcastReceiver {
.setSmallIcon(options.getSmallIcon())
.setLargeIcon(icon)
.setSound(options.getSound())
.setAutoCancel(options.getAutoCancel());
.setAutoCancel(options.getAutoCancel())
.setOngoing(options.getOngoing());
setClickEvent(notification);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment