From 95822aeac2771cc2ddeabb072c418d550f98f4e7 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Thu, 15 Mar 2018 18:02:35 +0100 Subject: [PATCH] feat(badge) add isSupported function --- src/@ionic-native/plugins/badge/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/@ionic-native/plugins/badge/index.ts b/src/@ionic-native/plugins/badge/index.ts index 7da09cf74..d7398cb3d 100644 --- a/src/@ionic-native/plugins/badge/index.ts +++ b/src/@ionic-native/plugins/badge/index.ts @@ -69,6 +69,13 @@ export class Badge extends IonicNativePlugin { */ @Cordova() decrease(decreaseBy: number): Promise { return; } + + /** + * Check support to show badges. + * @returns {Promise} + */ + @Cordova() + isSupported(): Promise { return; } /** * Determine if the app has permission to show badges.