【发布时间】:2018-06-15 14:27:54
【问题描述】:
我一直在尝试将我的 ReactNative 应用程序连接到 firebase,原因有两个 - 1.推送通知(成功完成) 2. 记录每个用户的事件。
我在使用 debugView 时遇到问题,无法在开发模式下获取实时事件,我可以在 streamView 中看到我的事件,但经过一些延迟。
对于上述 - 对于 android - adb shell setprop debug.firebase.analytics.app "package_name"
对于 ios,我已将 -FIRAnalyticsDebugEnabled 添加到我的 xcode 方案中。
但这些似乎都不起作用。
我有 RN0.44。
谢谢你,
【问题讨论】:
-
我也有同样的问题。
-
@EarlFerguson:你需要添加两个东西,
-FIRAnalyticsDebugEnabled,-FIRDebugEnabled,并确保你有正确的Google-Services.json,它会起作用。
标签: firebase react-native firebase-authentication firebase-analytics