Merge pull request #2374 from andrewlively/master

Added setAnalyticsCollectionEnabled to Firebase plugin
This commit is contained in:
Daniel Sogl 2018-03-16 17:01:58 +01:00 committed by GitHub
commit e58eb6e6b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}