From 0009cbf3a0151cabdac78b1fb27ef8a3094e66f0 Mon Sep 17 00:00:00 2001 From: Ibby Date: Wed, 8 Mar 2017 05:55:15 -0500 Subject: [PATCH] feat(firebase): add new setScreenName method closes #1149 --- src/plugins/firebase.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugins/firebase.ts b/src/plugins/firebase.ts index 647eeaecb..439eaabd0 100644 --- a/src/plugins/firebase.ts +++ b/src/plugins/firebase.ts @@ -111,6 +111,14 @@ export class Firebase { @Cordova() static logEvent(type: string, data: any): Promise { return; } + /** + * Set the name of the current screen in Analytics + * @param name {string} Screen name + * @return {Promise} + */ + @Cordova() + static setScreenName(name: string): Promise { return; } + /** * Set a user id for use in Analytics * @param userId {string}