mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(metrix): change firebase api (#3473)
This commit is contained in:
parent
eec3fec7ff
commit
b0ffb0ec4a
@ -11,6 +11,8 @@ export class MetrixConfig {
|
|||||||
private defaultTrackerToken: string = null;
|
private defaultTrackerToken: string = null;
|
||||||
private shouldLaunchDeeplink = false;
|
private shouldLaunchDeeplink = false;
|
||||||
private firebaseAppId: string = null;
|
private firebaseAppId: string = null;
|
||||||
|
private firebaseProjectId: string = null;
|
||||||
|
private firebaseApiKey: string = null;
|
||||||
private isLocationListeningEnable = false;
|
private isLocationListeningEnable = false;
|
||||||
private eventUploadThreshold: number = null;
|
private eventUploadThreshold: number = null;
|
||||||
private eventUploadMaxBatchSize: number = null;
|
private eventUploadMaxBatchSize: number = null;
|
||||||
@ -32,8 +34,10 @@ export class MetrixConfig {
|
|||||||
this.defaultTrackerToken = defaultTrackerToken;
|
this.defaultTrackerToken = defaultTrackerToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
setFirebaseAppId(firebaseAppId: string) {
|
setFirebaseId(firebaseAppId: string, firebaseProjectId: string, firebaseApiKey: string) {
|
||||||
this.firebaseAppId = firebaseAppId;
|
this.firebaseAppId = firebaseAppId;
|
||||||
|
this.firebaseProjectId = firebaseProjectId;
|
||||||
|
this.firebaseApiKey = firebaseApiKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
setAppSecret(secretId: number, info1: number, info2: number, info3: number, info4: number) {
|
setAppSecret(secretId: number, info1: number, info2: number, info3: number, info4: number) {
|
||||||
|
Loading…
Reference in New Issue
Block a user