cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [cordova-android] nero120 opened a new issue #969: Screen flashes white just before WebView is loaded
Date Tue, 05 May 2020 23:36:01 GMT

nero120 opened a new issue #969:

   # Bug Report
   ## Problem
   When using a custom android [theme](
to display a splash screen, the screen flashes white just before the WebView is loaded which
displays the cordova app. If either the theme or cordova app background colours are not white
this white flash is annoying and unsightly.
   ### What is expected to happen?
   The WebView background should be transparent, allowing the activity background to show
through before the cordova app is loaded into the WebView.
   ### What does actually happen?
   The screen flashes white just before the WebView is loaded which displays the cordova app.
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem
   I have created a [test cordova app](
which demonstrates the issue. It uses a [custom theme](
which the MainActivity is [configured to use](
This theme has a [`windowBackground` colour](
defined that displays as soon as the app is first opened. The WebView is then loaded and flashes
white just before the cordova app is displayed. I have set the cordova app background colour
css to the same colour as the theme `windowBackground` so that the issue is easy to spot.
   I will try and record a gif movie and upload it here later.
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Just run this [test cordova app](
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the
issue? -->
   This app uses `cordova-android`@8.1.0 and I am developing on Win10.
   ### Version information
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message