gpt4 book ai didi

ios - FirebaseAutomaticScreenReportingEnabled 甚至禁用了我的电话

转载 作者:搜寻专家 更新时间:2023-10-31 19:32:38 29 4
gpt4 key购买 nike

我在 Info.plist 中将 FirebaseAutomaticScreenReportingEnabled 设置为 NO,因为我想自己处理 setScreenName: screenClass: 调用。

但是 Firebase 不允许我调用它。

此消息记录在控制台:

 <Warning> [Firebase/Analytics][I-ACS031000] Ignoring call to setScreenName:screenClass:. Screen reporting is disabled.

我关注了This post :

If you disable automatic screen reporting, the Firebase Analytics reports will not automatically show the screen the user is on anymore. You can still call the setScreenName:screenClass: method to report the screen that the user is on.

最佳答案

From here

I got the answer from Firebase that On iOS, they support automatic + manual screen reporting or no screen reporting at all. Google Analytics for Firebase does NOT support the case of manual-only screen reporting. The plist flag FirebaseAutomaticScreenReportingEnabled has been renamed to FirebaseScreenReportingEnabled to reduce that confusion. Note that the value must be a Boolean and not a String. If it doesn't work as you expected, you can disable screen reporting completely by adding to Info.plist the flag FirebaseScreenReportingEnabled with a Boolean value of NO.

但是,对我来说 FirebaseAutomaticScreenReportingEnabled 工作。我没有将 info.plist 中的新名称更改为 FirebaseScreenReportingEnabled

关于ios - FirebaseAutomaticScreenReportingEnabled 甚至禁用了我的电话,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45472024/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com