feat(browser-tab): add browser tab plugin (#1126)

* feature: added hasPermission function to Firebase fixes #1115

* feat: Implemented support for BrowserTab #1077
This commit is contained in:
Aaron Czichon
2017-03-02 01:41:54 +01:00
committed by Ibby Hadeed
parent 448ec7a72b
commit 8de37939fb
3 changed files with 78 additions and 0 deletions
+9
View File
@@ -62,6 +62,15 @@ export class Firebase {
})
static grantPermission(): Promise<any> { return; }
/**
* Check permission to recieve push notifications
* @return {Promise<any>}
*/
@Cordova({
platforms: ['iOS']
})
static hasPermission(): Promise<any> { return; }
/**
* Set icon badge number. Set to 0 to clear the badge.
* @param badgeNumber {number}