The plugin and its methods are not available before the *deviceready* event has been fired.
The plugin and its methods are not available before the *deviceready* event has been fired.
...
@@ -107,6 +112,30 @@ document.addEventListener('deviceready', function () {
...
@@ -107,6 +112,30 @@ document.addEventListener('deviceready', function () {
},false);
},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.local.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.