Solving Android Crosswalk WebView black flashing with Cordova
Sections of our GroupAhead apps are pure native, and others are hybrid. When switching between these screens, there was an irritating black flash appearing after upgrading from Crosswalk 14 to Crosswalk 21. It was happening in the Crosswalk WebView when setting:
1 |
getWebView().getView().setVisibility(View.GONE); |
as well as
1 |
getWebView().getView().setVisibility(View.INVISIBLE); |
After debugging in Android Studio, it appears that there’s a confg.xml parameter that …