feat(badge) add isSupported function

This commit is contained in:
Daniel Sogl 2018-03-15 18:02:35 +01:00 committed by GitHub
parent f11be24f74
commit 95822aeac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,13 @@ export class Badge extends IonicNativePlugin {
*/
@Cordova()
decrease(decreaseBy: number): Promise<any> { return; }
/**
* Check support to show badges.
* @returns {Promise<any>}
*/
@Cordova()
isSupported(): Promise<any> { return; }
/**
* Determine if the app has permission to show badges.