Open
Description
Run react-native info
in your project and share the content.
What react-native-splash-screen
version are you using? 3.3.0
What platform does your issue occur on? Both
Describe your issue as precisely as possible :
- install react-native-splash-screen@3.3.0
- setting native
- doesn't start splash screen
ref : ios Splash screen
[RNSplashScreen show]; // After this line, no further process will proceed.
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
- ios
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.moduleName = @"ttttapp";
[RNSplashScreen show];
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
- android
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
androidx.core.splashscreen.SplashScreen.installSplashScreen(this);
org.devio.rn.splashscreen.SplashScreen.show(this, true);
super.onCreate(savedInstanceState);
}
}
Metadata
Metadata
Assignees
Labels
No labels