Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native-splash-screen #71

Open
cccisbug opened this issue Apr 25, 2018 · 1 comment
Open

react-native-splash-screen #71

cccisbug opened this issue Apr 25, 2018 · 1 comment

Comments

@cccisbug
Copy link

environment:
iOS11
xcode9
react-native-cli: 2.0.1
react-native: n/a - not inside a React Native project directory

运行报错:
TaskQueue: Error with task : undefined is not an object (evaluating '_reactNativeSplashScreen2.default.hide')

WelcomePage.js:26 processNext TaskQueue.js:116 _processUpdate InteractionManager.js:194 callTimer JSTimersExecution.js:84 callImmediatesPass JSTimersExecution.js:183 callImmediates JSTimersExecution.js:198 guard MessageQueue.js:42 __callImmediates MessageQueue.js:164 MessageQueue.js:112 guard MessageQueue.js:42 callFunctionReturnFlushedQueue MessageQueue.js:110
@cccisbug
Copy link
Author

ios11 模拟器运行会
在APPDelegate中
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];

jsCodeLocation 变量为nil
服务已经开启了: Running packager on port 8081.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant