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

[iOS] Throw 'requiresMainQueueSetup' warn #43

Open
someok opened this issue Oct 23, 2017 · 3 comments
Open

[iOS] Throw 'requiresMainQueueSetup' warn #43

someok opened this issue Oct 23, 2017 · 3 comments

Comments

@someok
Copy link

someok commented Oct 23, 2017

My env:

"react-native": "0.49.3",
"react-native-smart-splash-screen": "^2.3.5",

Throw warn:

Module RCTSplashScreen requires main queue setup since it overrides constantsToExport but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

@developercode1
Copy link

@someok Did you find any possible solutions for this. I am facing this too.

react-native - v0.57.5
react-native-smart-splash-screen - v2.3.5

TIA

@andyr6381
Copy link

facing this also on 58.4 any update?

@andyr6381
Copy link

andyr6381 commented Mar 6, 2019

add to the bottom of RCTSplashScreen.m in iOS node-modules. This fixes the notification but cannot test if it's working as I can't get the SplashScreen to work correctly atm.

+ (BOOL)requiresMainQueueSetup
{
    return YES;
}

@end

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

3 participants