fix(metrix): change firebase api (#3473)

This commit is contained in:
MohammadAli Zarei Matin 2020-08-14 20:07:21 +04:30 committed by GitHub
parent eec3fec7ff
commit b0ffb0ec4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,8 @@ export class MetrixConfig {
private defaultTrackerToken: string = null;
private shouldLaunchDeeplink = false;
private firebaseAppId: string = null;
private firebaseProjectId: string = null;
private firebaseApiKey: string = null;
private isLocationListeningEnable = false;
private eventUploadThreshold: number = null;
private eventUploadMaxBatchSize: number = null;
@ -32,8 +34,10 @@ export class MetrixConfig {
this.defaultTrackerToken = defaultTrackerToken;
}
setFirebaseAppId(firebaseAppId: string) {
setFirebaseId(firebaseAppId: string, firebaseProjectId: string, firebaseApiKey: string) {
this.firebaseAppId = firebaseAppId;
this.firebaseProjectId = firebaseProjectId;
this.firebaseApiKey = firebaseApiKey;
}
setAppSecret(secretId: number, info1: number, info2: number, info3: number, info4: number) {