Skip to content

Commit

Permalink
feat(firebase): add new setScreenName method
Browse files Browse the repository at this point in the history
closes #1149
  • Loading branch information
ihadeed committed Mar 8, 2017
1 parent 74971fe commit 0009cbf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plugins/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ export class Firebase {
@Cordova()
static logEvent(type: string, data: any): Promise<any> { return; }

/**
* Set the name of the current screen in Analytics
* @param name {string} Screen name
* @return {Promise<any>}
*/
@Cordova()
static setScreenName(name: string): Promise<any> { return; }

/**
* Set a user id for use in Analytics
* @param userId {string}
Expand Down

0 comments on commit 0009cbf

Please sign in to comment.