Commit 6a161ada by Sebastián Katzer

The message and not the title will be used as the ticker text

parent f8d8a703
...@@ -50,7 +50,8 @@ More informations can be found [here](https://build.phonegap.com/plugins/356). ...@@ -50,7 +50,8 @@ More informations can be found [here](https://build.phonegap.com/plugins/356).
**Note:** The new way of callback registration will be not compatible with previous versions! See #62 **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. - [feature:] Added the ability to override notifications default properties.
- [bugfix:] Fixed build failure if iOS/MacOS/Xcode were to old (#68) - [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.
#### Version 0.7.0beta1 (17.01.2014) #### Version 0.7.0beta1 (17.01.2014)
- [bugfix:] App throws an error on iOS if `message` is null. - [bugfix:] App throws an error on iOS if `message` is null.
......
...@@ -122,7 +122,7 @@ public class Receiver extends BroadcastReceiver { ...@@ -122,7 +122,7 @@ public class Receiver extends BroadcastReceiver {
.setContentTitle(options.getTitle()) .setContentTitle(options.getTitle())
.setContentText(options.getMessage()) .setContentText(options.getMessage())
.setNumber(options.getBadge()) .setNumber(options.getBadge())
.setTicker(options.getTitle()) .setTicker(options.getMessage())
.setSmallIcon(options.getSmallIcon()) .setSmallIcon(options.getSmallIcon())
.setLargeIcon(icon) .setLargeIcon(icon)
.setSound(options.getSound()) .setSound(options.getSound())
......
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