Skip to content

Commit

Permalink
fix(metrix): change firebase api (#3473)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzmatin committed Aug 14, 2020
1 parent eec3fec commit b0ffb0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/@ionic-native/plugins/metrix/index.ts
Expand Up @@ -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;
Expand All @@ -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) {
Expand Down

0 comments on commit b0ffb0e

Please sign in to comment.