Added setAnalyticsCollectionEnabled to Firebase plugin

This commit is contained in:
Andrew Lively 2018-03-12 11:00:31 -04:00
parent f11be24f74
commit 2e711b94bb

View File

@ -300,4 +300,14 @@ export class Firebase extends IonicNativePlugin {
verifyPhoneNumber(phoneNumber: string, timeoutDuration: number): Promise<any> {
return;
}
/**
* Allows the user to enable/disable analytics collection
* @param enabled {booleab} value to set collection
* @returns {Promise<any>}
*/
@Cordova()
setAnalyticsCollectionEnabled(enabled: boolean): Promise<any> {
return;
}
}