-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
After Splash Screen remains blank screen (Android) #456
Comments
Hello! I never heard of that, could you provide a repository with the setup on Android? (copy / paste how you setted it up in your project). Are you sure this isn't related to the Android bug? (as the app is started from an intent: the play store)
(This is similar to #440) |
Yeah I was thinking the same, app was built and tested mainly on Android 13 real device, and on few android emulators from android 10 to 13. |
I'm currently working on a new version without AndroidX core splashscreen package and it kind of fixes this issue |
Great to hear that! I will close this issue until new version is available then, do you know maybe at least month of the release? |
Probably before the end of June 🙂 |
any update for issue bro ? |
@nhutph I had other plans, visibly. |
Hello 👋 Any update on removing AndroidX? |
@jacobjones123 I've got it fully working, as I work during the week I will probably be able to publish the first beta this weekend 🙂 |
awesome 😄 Thanks for the update @zoontek |
@zoontek Will this also fix the logo not appearing on the Splash screen when launching the App for the first time? this happens on release builds. |
every things on beta oke man ? |
I don't think there is any beta release yet. |
Hi all 👋 |
@zoontek I just tried your @next version, but it still showing black screen when I first install app. Any idea on this one? |
@phuongnguyenzoi Did you correctly followed the migration guide / clean the project (using react-native-clean-project, for example) / rebuild the android app? |
Version 5.0.0 is available: https://github.com/zoontek/react-native-bootsplash/releases/tag/5.0.0 |
The latest version 5.0.0 still has this issue, which crashes when the app is first installed and opened. My replication devices are Samsung S22 and Android 13 The error log is as follows
The second error is the cause of the crash |
Replenish |
@dppo Can you provide a reproduction repository? Are you using fade: true? |
I used a new project to test, although there is no crash phenomenon, but there is still an abnormal situation, the specific situation is as follows.
In this case, install and start normally for the first time
When installing and starting for the first time, there is an exception displayed, and the exception is as follows 1_1692803895.mp4Code repository:Demo |
@dppo I tried to reproduce it by cloning your repository, but no issue at all with my Pixel 4a / Android emulators. My guess is that it might be a Samsung only issue (and I don't have a physical Samsung phone / Samsung don't release ROMs 😕) You probably have an issue in your logcat when this occur. Could you publish it? Also, which Android version run on your Samsung S22? Does this occur when you remove some libs? (ex: without bars, without navigation, etc) |
|
I noticed that you just released version 5.0.1. After updating my project, I still have this problem. The following is my Android studio log. I don’t know if it will help you to fix the problem. |
@dppo can you confirm if after updating to 5.0.2 your problem is solved? I tried replicating it on a Samsung S22 Android 12, and it seems working for me. |
any updates? i have this issue after upgrade bootsplash version |
const hideSplash = () => {
|
Having the same issue even on emulators show black window and splash hide automatically immediately after 1 or 2 seconds. |
I am facing an issue that, When the splash screen opens the logo appears in a circle then after that it appears normally.
|
@DakshAg62 Read the warnings in your console when generating the assets. |
Bug summary
Hello,
First of all great lib, good job and thanks a lot for contributing to the community.
I have followed all the steps in documentation for Android and it was working fine on Android 13 (Samsung galaxy s21), but when app was released people was reporting that on first download of the app and starting it from google play store they were expiriencing blank black screen after splash screen, but after they close app and reopen it works fine. This isn't probably bug in the lib, but just want to check if someone had same issue and is there a way to solve it?
It happens on differend android versions and phones, some of them are under android 12 version but there were also issues with 12+ devices.
Library version
v4.7.1
Environment info
Steps to reproduce
Blank screen after splash screen:
Working example:
Reproducible sample code
The text was updated successfully, but these errors were encountered: