From 54b66594690f7f528bc5fbd1ef5ec1b1305fbb2b Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Wed, 10 May 2017 00:29:43 +0200 Subject: [PATCH] docs(firebase): update platforms (#1521) fix #1518 --- src/@ionic-native/plugins/firebase/index.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/@ionic-native/plugins/firebase/index.ts b/src/@ionic-native/plugins/firebase/index.ts index 175697309..e77687b18 100644 --- a/src/@ionic-native/plugins/firebase/index.ts +++ b/src/@ionic-native/plugins/firebase/index.ts @@ -72,9 +72,7 @@ export class Firebase extends IonicNativePlugin { * Check permission to receive push notifications * @return {Promise} */ - @Cordova({ - platforms: ['iOS'] - }) + @Cordova() hasPermission(): Promise { return; } /** @@ -156,7 +154,6 @@ export class Firebase extends IonicNativePlugin { * @return {Promise} */ @Cordova({ - platforms: ['Android'], successIndex: 1, errorIndex: 2 }) @@ -166,9 +163,7 @@ export class Firebase extends IonicNativePlugin { * Activate the Remote Config fetched config * @return {Promise} */ - @Cordova({ - platforms: ['Android'] - }) + @Cordova() activateFetched(): Promise { return; } /** @@ -178,7 +173,6 @@ export class Firebase extends IonicNativePlugin { * @return {Promise} */ @Cordova({ - platforms: ['Android'], successIndex: 2, errorIndex: 3 })