禁用firebase自动屏幕报告 [英] Disabling firebase automatic screen reporting
问题描述
有没有办法禁用Firebase分析自动屏幕报告?
Is there a way to disable Firebase analytics automatic screen reporting?
我有一些我不想报告的UIViewCOntroller。
I have a few UIViewCOntroller's that i don't want to be reported.
所以我想管理报告我自己的屏幕。
So i want to manage the screen reporting my self.
设置 FirebaseAutomaticScreenReportingEnabled
到否
无法正常工作
谢谢
推荐答案
您应该可以通过将plist标志 FirebaseScreenReportingEnabled 添加到Info.plist并将其值设置为NO(布尔值)来禁用自动屏幕报告。请注意,该值必须是布尔值而不是String。
You should be able to disable the Automatic Screen reporting by adding the plist flag FirebaseScreenReportingEnabled to Info.plist and set its value to NO (Boolean). Note that the value must be a Boolean and not a String.
Google Analytics for Firebase不支持手动屏幕报告的情况。 plist标志 FirebaseAutomaticScreenReportingEnabled 已重命名为 FirebaseScreenReportingEnabled 以减少这种混淆。我们支持自动+手动屏幕报告或根本不支持屏幕报告。
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. We support automatic + manual screen reporting or no screen reporting at all.
这篇关于禁用firebase自动屏幕报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!