Merge pull request #1 from JKH4/JKH4-patch-1-2

Replace registerPermission by requestPermission
This commit is contained in:
JKH4
2017-12-15 14:05:24 +01:00
committed by GitHub
@@ -300,11 +300,11 @@ export class LocalNotifications extends IonicNativePlugin {
getAllTriggered(): Promise<Array<ILocalNotification>> { return; }
/**
* Register permission to show notifications if not already granted.
* Request permission to show notifications if not already granted.
* @returns {Promise<boolean>}
*/
@Cordova()
registerPermission(): Promise<boolean> { return; }
requestPermission(): Promise<boolean> { return; }
/**
* Informs if the app has the permission to show notifications.