docs(firebase): update platforms (#1521)

fix #1518
This commit is contained in:
Daniel Sogl 2017-05-10 00:29:43 +02:00 committed by Ibby Hadeed
parent 252c3e4a21
commit 54b6659469

View File

@ -72,9 +72,7 @@ export class Firebase extends IonicNativePlugin {
* Check permission to receive push notifications * Check permission to receive push notifications
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova()
platforms: ['iOS']
})
hasPermission(): Promise<any> { return; } hasPermission(): Promise<any> { return; }
/** /**
@ -156,7 +154,6 @@ export class Firebase extends IonicNativePlugin {
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
platforms: ['Android'],
successIndex: 1, successIndex: 1,
errorIndex: 2 errorIndex: 2
}) })
@ -166,9 +163,7 @@ export class Firebase extends IonicNativePlugin {
* Activate the Remote Config fetched config * Activate the Remote Config fetched config
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova()
platforms: ['Android']
})
activateFetched(): Promise<any> { return; } activateFetched(): Promise<any> { return; }
/** /**
@ -178,7 +173,6 @@ export class Firebase extends IonicNativePlugin {
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
platforms: ['Android'],
successIndex: 2, successIndex: 2,
errorIndex: 3 errorIndex: 3
}) })