mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-28 22:10:20 +08:00
Merge pull request #2374 from andrewlively/master
Added setAnalyticsCollectionEnabled to Firebase plugin
This commit is contained in:
commit
e58eb6e6b1
@ -300,4 +300,14 @@ export class Firebase extends IonicNativePlugin {
|
|||||||
verifyPhoneNumber(phoneNumber: string, timeoutDuration: number): Promise<any> {
|
verifyPhoneNumber(phoneNumber: string, timeoutDuration: number): Promise<any> {
|
||||||
return;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user