Commit 9a13f4e0 by Sebastián Katzer

Fix namespace

parent 45034ed3
...@@ -92,7 +92,7 @@ document.addEventListener('deviceready', function () { ...@@ -92,7 +92,7 @@ document.addEventListener('deviceready', function () {
``` ```
### Determine if the app does have the permission to show local notifications ### 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/> 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. 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 #### Further informations
...@@ -105,7 +105,7 @@ window.plugin.notification.local.hasPermission(function (granted) { ...@@ -105,7 +105,7 @@ window.plugin.notification.local.hasPermission(function (granted) {
``` ```
### Prompt the user to grant permission for local notifications ### Prompt the user to grant permission for local notifications
The user can be prompted to grant the required permission through the `notification.badge.promptForPermission` interface. The user can be prompted to grant the required permission through the `notification.local.promptForPermission` interface.
#### Further informations #### Further informations
- The method is supported on each platform, however its only relevant for iOS8 and above. - The method is supported on each platform, however its only relevant for iOS8 and above.
......
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