Skip to content

Commit

Permalink
fix: web implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
rpanadero committed Mar 9, 2020
1 parent 818d5a6 commit 3c9bf33
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions dist/esm/web.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/web.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,40 @@ export class FirebaseWeb extends WebPlugin implements FirebasePlugin {

logEvent(options: { name: string; parameters: object; }): Promise<void> {
console.log(options);
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

setUserProperty(options: { name: string; value: string; }): Promise<void> {
console.log(options);
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

setUserId(options: { userId: string; }): Promise<void> {
console.log(options);
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

setScreenName(options: { screenName: string; screenClassOverride?: string; }): Promise<void> {
console.log(options);
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

activateFetched(): Promise<{ activated: boolean; }> {
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

fetch(options?: { cache?: number }): Promise<void> {
console.log(options);
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

getRemoteConfigValue(options: { key: string; }): Promise<{ value: string; }> {
console.log(options);
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

getToken(): Promise<{ token: string; }> {
throw new Error('Method not implemented.');
return Promise.reject('Method not implemented.');
}

}
Expand Down

0 comments on commit 3c9bf33

Please sign in to comment.