小编use*_*835的帖子

反应本机:TypeError:null 不是对象(评估“SplashScreen.preventAutoHide”)

在我使用expo eject. 我退出它是因为我现在打算构建应用程序并将其发布到 ios 应用程序商店。一旦我尝试在弹出的应用程序react-native run-ios被弹出后使用它启动弹出的应用程序,我就会收到以下异常。

请有人帮助了解导致此问题的原因以及如何解决?

反应本机版本如下:

react-native-cli: 2.0.1
react-native: 0.61.5
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

TypeError: null is not an object (evaluating 'SplashScreen.preventAutoHide')

This error is located at:
    in AppLoading (at AppLoading.js:52)
    in AppLoading (at App.js:464)
    in App (at renderApplication.js:40)
    in RCTView (at AppContainer.js:101)
    in RCTView (at AppContainer.js:119)
    in AppContainer (at renderApplication.js:39)

preventAutoHide
    SplashScreen.js:4:21
AppLoading#constructor
    AppLoadingNativeWrapper.js:6:8
renderRoot
    [native code]:0
runRootCallback
    [native code]:0
renderApplication
    renderApplication.js:52:52
runnables.appKey.run
    AppRegistry.js:116:10
runApplication
    AppRegistry.js:197:26
callFunctionReturnFlushedQueue
    [native code]:0
Run Code Online (Sandbox Code Playgroud)

ios react-native expo

8
推荐指数
2
解决办法
7600
查看次数

删除firebase中的User不会触发onAuth方法

通过Login&Auth firebase Web界面的Registered Users部分删除用户时,不会触发onAuth方法,并且用户仍然登录并能够写入数据库.如何确保用户的会话被销毁然后用户被删除?

firebase firebase-authentication

2
推荐指数
1
解决办法
1725
查看次数