![](/img/trans.png)
[英]react-native app crashes without log on Firebase auth logout when using 'onSnapshot' with 'where' query and 'in' operator
[英]Where to put these codes when adding firebase to the react native app?
您必须在 AppDelegate.m 文件中添加目标 C 代码
记住这一点必须在FB_SONARKIT_ENABLED这一行之前导入 firebase
#import <Firebase.h>
你只需要复制
[FIRApp configure];
并将其添加到didFinishLaunchingWithOptions方法中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.