More informations can be found [here][PGB_plugin].
## ChangeLog
#### Version 0.7.5 (29.10.2014)
-[enhancement:]__iOS8 Support__
-[feature:] New method `hasPermission` to ask if the user has granted to display local notifications.
-[feature:] New method `promptForPermission` to promt the user to grant permission to display local notifications.
#### Further informations
- See [CHANGELOG.md][changelog] to get the full changelog for the plugin.
## Using the plugin
The plugin creates the object ```window.plugin.notification.local``` with the following methods:
...
...
@@ -80,6 +91,30 @@ document.addEventListener('deviceready', function () {
},false);
```
### Determine if the app does have the permission to show local notifications
If the permission has been granted through the user can be retrieved through the `notification.badge.hasPermission` interface.<br/>
The method takes a callback function as its argument which will be called with a boolean value. Optional the scope of the callback function ca be defined through a second argument.
#### Further informations
- The method is supported on each platform, however its only relevant for iOS8 and above.