Splash screen crashing on Android 11 with target sdk 30
compileSdkVersion = 30
buildToolsVersion = "30.0.3"
minSdkVersion = 23
targetSdkVersion = 30
ndkVersion = "20.1.5948944"
System: OS: macOS 11.4 CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz Memory: 27.45 MB / 8.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.3.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.17.0 - /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 Android SDK: API Levels: 30 Build Tools: 30.0.2, 30.0.3 System Images: android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.2 AI-202.7660.26.42.7351085 Xcode: 12.5/12E262 - /usr/bin/xcodebuild Languages: Java: 1.8.0_292 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.1 => 17.0.1 react-native: 0.64.1 => 0.64.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
react-native-splash-screen version 3.2.0
What platform does your issue occur on? (Android/iOS/Both)
Describe your issue as precisely as possible :
not a rocket science to produce the bug just launch the app in android 11 and it will crash even before the screen displays
@Harvinder5 Did you get any solution for this? If so, Kindly share with us as I am also stuck in the same issue
I have the same issue
I see, in the layout folder, you must create launch_screen.xml (do not change the name)
@pmtu95 i am using the same name from the beginning the issue is when android build and target sdk is set to 30 it starts crashing on android 11
@ZentPeople have you find the solution? it's still not working for me
@Harvinder5 it switched the library https://github.com/zoontek/react-native-bootsplash