You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I install the current library to my react native app then I see the basic react-native splash screen on iOS (from file ./ios/ProjectName/Base.lproj/LaunchScreen.xib). And if I want to change it to my picture I need to do the following changes:
Add to file ./ios/ProjectName.xcodeproj/project.pbxproj the following strings:
...
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; /* here */
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = NO;
HEADER_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-splash-screen/ios"; /* and here */
...
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; /* here */
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = NO;
HEADER_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-splash-screen/ios"; /* and here */
...
Remove from file ./ios/ProjectName.xcodeproj/project.pbxproj the following strings:
If I do it then I see my splash screen from the directory ./ios/ProjectName/Images.xcassets/LaunchImage.launchimage like in example.
Please, add it to README.md or fix it.
P.S. Your example doesn't work for me. I see the following error when app starts:
Application examples has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
The text was updated successfully, but these errors were encountered:
If I install the current library to my react native app then I see the basic react-native splash screen on iOS (from file
./ios/ProjectName/Base.lproj/LaunchScreen.xib
). And if I want to change it to my picture I need to do the following changes:./ios/ProjectName.xcodeproj/project.pbxproj
the following strings:./ios/ProjectName.xcodeproj/project.pbxproj
the following strings:If I do it then I see my splash screen from the directory
./ios/ProjectName/Images.xcassets/LaunchImage.launchimage
like in example.Please, add it to
README.md
or fix it.P.S. Your example doesn't work for me. I see the following error when app starts:
The text was updated successfully, but these errors were encountered: