Commit f93afde2 by Sebastián Katzer

Rename "under <platform>" to "on <platform>"

parent 59f204d6
...@@ -36,7 +36,7 @@ cordova plugin rm de.appplant.cordova.plugin.local-notifications ...@@ -36,7 +36,7 @@ cordova plugin rm de.appplant.cordova.plugin.local-notifications
## Release Notes ## Release Notes
#### Version 0.6.1 (not yet released) #### Version 0.6.1 (not yet released)
- [feature:] Sound can be specified under Android. - [feature:] Sound can be specified on Android.
- [enhancement:] Adding notifications on Android does not block the ui thread anymore. - [enhancement:] Adding notifications on Android does not block the ui thread anymore.
- [bugfix:] The app did stop/crash after removing them from recent apps list. - [bugfix:] The app did stop/crash after removing them from recent apps list.
- [enhancement:] Adding notifications on iOS does not block the ui thread anymore. - [enhancement:] Adding notifications on iOS does not block the ui thread anymore.
...@@ -46,9 +46,9 @@ cordova plugin rm de.appplant.cordova.plugin.local-notifications ...@@ -46,9 +46,9 @@ cordova plugin rm de.appplant.cordova.plugin.local-notifications
*Based on the LiveTiles WP8 plugin made by* ***Jesse MacFadyen (purplecabbage)*** *Based on the LiveTiles WP8 plugin made by* ***Jesse MacFadyen (purplecabbage)***
- [enhancement:] The `add()` function now returns the id of the created notification. - [enhancement:] The `add()` function now returns the id of the created notification.
- [feature:] Added new `title` property. - [feature:] Added new `title` property.
- [bugfix:] `cancel` under iOS did not work do to wrong dict key. - [bugfix:] `cancel` on iOS did not work do to wrong dict key.
- [enhancement:] All notifications under Android display the app icon by default. - [enhancement:] All notifications on Android display the app icon by default.
- [feature:] Icon can be specified under Android. - [feature:] Icon can be specified on Android.
#### Version 0.4.0 (06.10.2013) #### Version 0.4.0 (06.10.2013)
- Added Android support<br> - Added Android support<br>
...@@ -119,7 +119,7 @@ function background (id) { ...@@ -119,7 +119,7 @@ function background (id) {
## Platform specifics ## Platform specifics
### Notification icon under Android ### Notification icon on Android
By default all notifications will display the app icon. But an specific icon can be defined through the `icon` property. By default all notifications will display the app icon. But an specific icon can be defined through the `icon` property.
```javascript ```javascript
/** /**
...@@ -133,7 +133,7 @@ window.plugin.notification.local.add({ icon: 'ic_launcher' }); ...@@ -133,7 +133,7 @@ window.plugin.notification.local.add({ icon: 'ic_launcher' });
window.plugin.notification.local.add({ icon: 'ic_dialog_email' }); window.plugin.notification.local.add({ icon: 'ic_dialog_email' });
``` ```
### Notification sound under Android ### Notification sound on Android
The default sound is `RingtoneManager.TYPE_NOTIFICATION`. But an specific sound can be defined through the `sound` property.<br> The default sound is `RingtoneManager.TYPE_NOTIFICATION`. But an specific sound can be defined through the `sound` property.<br>
The sound must be a absolute or relative Uri pointing to the sound file. The sound must be a absolute or relative Uri pointing to the sound file.
```javascript ```javascript
...@@ -153,7 +153,7 @@ window.plugin.notification.local.add({ sound: 'TYPE_ALARM' }); ...@@ -153,7 +153,7 @@ window.plugin.notification.local.add({ sound: 'TYPE_ALARM' });
window.plugin.notification.local.add({ sound: null }); window.plugin.notification.local.add({ sound: null });
``` ```
### Notification sound under iOS ### Notification sound on iOS
The sound must be located in your project's resources and must be a caf file. The sound must be located in your project's resources and must be a caf file.
```javascript ```javascript
/** /**
...@@ -163,7 +163,7 @@ window.plugin.notification.local.add({ sound: 'sub.caf' }); ...@@ -163,7 +163,7 @@ window.plugin.notification.local.add({ sound: 'sub.caf' });
``` ```
**Note:** The right to play notification sounds in the notification center settings has to be granted. **Note:** The right to play notification sounds in the notification center settings has to be granted.
### LiveTile background images under WP8 ### LiveTile background images on WP8
LiveTile's have the ability to display images for different sizes. These images can be defined through the `smallImage`, `image` and `wideImage` properties.<br> LiveTile's have the ability to display images for different sizes. These images can be defined through the `smallImage`, `image` and `wideImage` properties.<br>
An image must be defined as a relative or absolute URI. An image must be defined as a relative or absolute URI.
```javascript ```javascript
...@@ -178,10 +178,10 @@ All images can be restored to the default ones by canceling the notification. ...@@ -178,10 +178,10 @@ All images can be restored to the default ones by canceling the notification.
## Quirks ## Quirks
### No sound is played on iOS 7 ### No sound is played on iOS 7
The right to play notification sounds in the notification center settings has to be granted. The right to play notification sounds in the notification center settings has to be granted.
### Adding a notification under WP8 ### Adding a notification on WP8
An application can only display one notification at a time. Each time a new notification has to be added, the application live tile's data will be overwritten by the new ones. An application can only display one notification at a time. Each time a new notification has to be added, the application live tile's data will be overwritten by the new ones.
### Canceling a notification under WP8 ### Canceling a notification on WP8
The methods `cancel` and `cancelAll` have the same effect. The methods `cancel` and `cancelAll` have the same effect.
......
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