Commit 68ea11c7 by Sebastián Katzer

Update README.md

parent 942b49bc
...@@ -107,8 +107,8 @@ function background (id) { ...@@ -107,8 +107,8 @@ function background (id) {
``` ```
## Quirks ## Platform specifics
### How to specify the notification icon under Android ### Notification icon under 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
/** /**
...@@ -132,11 +132,11 @@ window.plugin.notification.local.add({ sound: 'sub.caf' }); ...@@ -132,11 +132,11 @@ window.plugin.notification.local.add({ sound: 'sub.caf' });
### LiveTile background images under WP8 ### LiveTile background images under 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. All images will be reseted by canceling the notification. An image must be defined as a relative or absolute URI.
```javascript ```javascript
/** /**
* Displays the application image as the livetile's background image * Displays the application image as the livetile's background image
*/ */
window.plugin.notification.local.add({ image: 'appdata:ApplicationImage.png' }) window.plugin.notification.local.add({ image: 'appdata:ApplicationImage.png' })
``` ```
All images can be restored to the default ones by canceling the 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