Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Firebase Analytics Plugin & setCurrentScreen
Started by beernathan Dec 08 2019 03:13 PM

4 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 360 posts
  • Corona SDK

Hi,
 
We're trying to use the Firebase Analytics plugin to track pages that people visit in our app. We're calling firebaseAnalytics.setCurrentScreen(myScreenName, "xxx") as we're really interested in the screen name and not the class.
 
When we look at the analytics it appears that the screenname isn't getting through at all and it's only showing AppViewController and CustomAlertController. with counts against them in the Firebase console.
 
Are we doing something wrong? I note the official Firebase docs call for setCurrentScreen (Activity activity, String screenName, String screenClassOverride).
 
Thanks,
Nathan.


[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,841 posts
  • Enterprise

Is this is for Android? Or Both iOS and Android.



[TOPIC: post.html]
#3

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 360 posts
  • Corona SDK

I want to use it for both, but this particular example is iOS.



[TOPIC: post.html]
#4

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,841 posts
  • Enterprise

It looks like this a bug with firebase see below

https://github.com/firebase/firebase-ios-sdk/issues/1894



[TOPIC: post.html]
#5

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 360 posts
  • Corona SDK

Wow - seems crazy that Google have let this issue linger for so long. Thanks for getting to the bottom of it Scott.




[topic_controls]
[/topic_controls]