Commit 137c9f45 by Sebastián Katzer

Added note about how to specify the notification icon under Android.

parent d552949c
......@@ -105,6 +105,20 @@ function background (id) {
## Quirks
### How to specify the notification icon under Android
By default all notifications will display the app icon. But an specific icon can be defined through the following way.
```javascript
/**
* Displays the <package.name>.R.drawable.ic_launcher icon
*/
window.plugin.notification.local.add({ icon: 'ic_launcher' });
/**
* Displays the android.R.drawable.ic_dialog_email icon
*/
window.plugin.notification.local.add({ icon: 'ic_dialog_email' });
```
### Windows Phone 8.0
Windows Phone 8.0 has no notification center. Instead local notifications are realized through live tiles updates.
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