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.
Related
When I move my React native app to background irrespective on which screen I am on, it shows white screen instead of the screen I should be in? I am not talking about the white splash screen.
This issue happens only on android and not on iOS
https://preview.redd.it/yhalbullg3b61.jpg?width=720&format=pjpg&auto=webp&s=a690d3470b7923d8de64d38fa335d86257fd6612
I am using React Navigation. I am not even sure what code to post or where to look for debugging.
I also tried with release mode apk but the issue persists for android.
This was not React-Native specific issue. I have set FLAG_SECURE in android for one of my Native module. Removing it resolved this issue
My application only shows for a second and then vanishes to a white screen. Comes back only if I go to the split screen mode on android 8.1. Works fine on the emulator.
There was a javascript error. Once I got rid of that the app started working fine. The error become visible when I compiled the app for the 'browser' platform instead of the android / ios platform.
I've created a new app with Meteor (1.2.1). If I start it once I get a splash screen. Then I stop my app with
navigator.app.exitApp();
and if I start it again, there is a white screen instead of the splash screen.
The Problem should be reproducible for anyone. Create a new blank meteor app and run it on your android device. If you start it the first time you will see the meteor splash screen and if you close the app (with the back button on your device) and start it a second time you will get a white screen instead.
In older versions of meteor (1.1.0.2) I had no such problem.
Have anyone a solution how I can get the splash screen every single time.
(I've tested it with Samsung S4 Mini and HTC Evo 3d)
I've found a workaround for my problem.
I've added an older release of cordova-plugin-splashscreen to my project. From https://github.com/apache/cordova-plugin-splashscreen/releases
# version 2.0 (current version is 2.1)
meteor add cordova:cordova-plugin-splashscreen#https://github.com/apache/cordova-plugin-splashscreen/tarball/d23ea4e01162a78f692bb246776f2a5b3a1da14b
I run into the same issue, after look at the PhoneGap document, I found it's a default behaviour for phonegap splash screen plugin. You can see it here
"SplashShowOnlyFirstTime" preference is also optional and defaults to true. When set to true splash screen will only appear on application launch. However, if you plan to use navigator.app.exitApp() to close application and force splash screen appear on next launch, you should set this property to false (this also applies to closing the App with Back button).
So all you need to do is add this into your mobile-config file
App.setPreference('SplashShowOnlyFirstTime', 'false');
I've got an android trigger.io app, which I'm using a custom splash screen on. Once this splash screen disappears, I sometimes am left with a black/grey gradient background while my webview has not loaded the content of my app (either a log on or a configuration page)
This seems to happen more often when I'm attempting to show a Kendo UI Modal Window immediately (I'm using one for a "Welcome to the app" first time message), and less frequently when this isn't shown.
Are there any known compatibility issues between Trigger and Kendo that I should be aware of to fix or work around this?
Does this happen on all Android devices, or only the ones with ICS (Android 4+)?
I had a similar problem on ICS.
It turned out that it was caused by CSS rule -webkit-transform: translate3d(0,0,0).
Issue in Android 4.0.3
I am using Phonegap 1.6.1.
jQuery Mobile 1.1.0
When the app is opened for the first time, or when the page transitions (page change), it shows a white screen.
If anybody has any idea or solution, please share with us.
Thanks.