Ionic react splash screen is showing two times with capacitor - android

I am a building android app using ionic react + capacitor
I added the splash screens with their correct sizes
but on app loading splash screens are displayed two times.
Find below image, app splash screen displayed two times:
I tried my ways to correct it but not able to find cause.
Can someone please help me.

I solved the problem.
Problem is that, I used transparent image for splash screens, which causing above problem of duplicate splash screen display.
By replacing all the splash screens with white background solved the problem.

Related

Where do splash screens in flutter appear?

https://flutter.dev/docs/development/ui/splash-screen/android-splash-screen
On this page, there are three types of splash themes mentioned
A. Launch theme
B. Normal theme
C. Flutter splash theme
Now i have read through it and tried implementing all of these, but can someone experienced enough tell me where all these three screens appear during the app launch?
P. S. :- There is a fourth type of splash screen that youtubers tutorial about, that splash screen appears as a first widget drawn by flutter so it's not really a splash screen. It's a first widget to be drawn.
Any help would be appreciated.
Splash screens are typically used by particularly large applications to notify the user that the program is in the process of loading. Nowadays, in mobile apps splash screen is common. Flutter docs mention a native way to implement a splash screen. This splash screen is white by default. You can see a white screen on the launch of the app.
https://flutter.dev/docs/development/ui/splash-screen/android-splash-screen
This document mentions steps to edit this white screen.
A - Launch Theme
The launch theme is displayed when the app is initializing. This is the very first thing seen on launching the app, even before our homepage is loaded.
B - Normal ThemeProvide the default theme for C-Flutter Splash Screen
C - Flutter Splash Screen
Each Flutter experience in an app requires a few moments to initialize the Dart isolate that runs the code. This means a user momentarily sees a blank screen until Flutter renders its first frame. This can be seen for a very brief moment after the splash screen disappears and also in some other situations mentioned in docs.
D- First widget as Splash Screen
I think this is not the proper way to implement a splash screen as per Flutter docs. But by displaying a widget as a splash screen it offers all the flexibility of flutter to design a custom splash screen, especially for beginners.
If you need to see the changes, follow the docs with implementing each splash screen with different colors or designs, so that you can identify the changes quickly.

flutter splash screen not working after update

I am facing a strange problem. I had a splash screen to my app ex. black in the background. But I change to a new splash screen to a white background.
I changed all images in android/app/res folder.
Now the problem is the first slash screen still appear for a moment and after that second white screen will display.
I tried flutter clean.
deleting an app from mobile
trying to run on different devices
checked complete project folder for old splash screen it's not there.
Thanks for any help

Can't remove custom splash screen

I made a splash screen for my android app - therefore I followed the 3 steps described here https://stackoverflow.com/a/15832037/7589266
As I didn't like the result, I directly reversed the 3 steps. But the splash screen still showed up. Furthermore, I deleted the app from my smartphone, cleaned the project and rebuilt it. If I run the code now on the emulator, there doesn't show up a splash screen, but it still does on my physical device.
Does anyone have an idea how to fix this?

How to remove the launch screen in IPhone - IBM MobileFirst

I want to implement custom splash screen using IBM Mobilefirst for both Android/IPhone platforms.
My requirement is to show a GIF image on app launch.
In Android, custom splash screen is perfectly working. But in IPhone, before showing the GIF image, the default splash screen is displaying.
From this blog https://www.ibm.com/developerworks/community/blogs/worklight/entry/creating_a_rich_hybrid_application_ui_with_ibm_worklight_foundation_6_2?lang=en , I got one sample application. When I run this project in android, there is no splash screen is displaying. But the same project in IPhone displays splash image before displaying the custom page.
I want to remove that default splash screen and only show the custom spalsh screen.
As suggested in the comments, you'll need to at least have the image, and then use it in a different way.
Follow this tutorial to add native UI to your MobileFirst-based Hybrid app: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/adding-native-functionality/ios-adding-native-ui-elements-hybrid-applications/

Android phonegap app - black blank screen issue

I have built a few Android phonegap applications using Eclipse but when I run those applications on device (mobile/emulator):
It will display a blank black screen at the initial
It will display a black blank screen for few seconds before navigating to another page.
I've same problem previously. I solved by turn android:hardwareAccelerated to false in AndroidManifest.xml
If you upgrade to PhoneGap 1.3 the black screen between pages has been removed. We used to load each page in it's own activity but that is no longer the case.

Categories

Resources