【问题标题】:In FireBase Analytics, we can't set the screen name displayed in Dashboard. I have added the logevent as follows:在 FireBase Analytics 中,我们无法设置 Dashboard 中显示的屏幕名称。我已按如下方式添加了日志事件:
【发布时间】:2017-06-23 09:19:34
【问题描述】:
[
 FIRAnalytics logEventWithName:@"FirstScreen" 
 parameters:@{ 
  @"screen_name": @"First",
  @"screen_class": @"First"
  }
];

【问题讨论】:

  • 您是否关闭了自动屏幕报告功能?
  • 是的,我认为这就是问题所在。当我将其设置为否时,仪表板开始显示屏幕名称。

标签: ios objective-c firebase-analytics


【解决方案1】:

ViewDidAppear中添加[FIRAnalytics setScreenName:@"First" screenClass:@"First"],然后将firebaseautomaticscreenreportingenabled添加到info.plistBoolean并设置为NO

【讨论】:

    猜你喜欢
    • 2018-10-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-10
    • 1970-01-01
    • 1970-01-01
    • 2021-02-01
    相关资源
    最近更新 更多