GitHub user breautek added a comment to the discussion: Release Version - White 
screen appears after the splashscreen (only release version, filename.aab) 
(Cordova 12.0.0)

There is very little information to go on, what pointers that we can give is 
going to be rather limited.

A white screen is likely caused by your index page either not loading at all, 
or erroring on load. 

Normally the web inspector is disabled on release builds, but you can enable it 
by setting the `InspectableWebview` preference to `true`. Additionally you can 
test release builds locally by using `cordova run android --release -- 
--packageType=apk`. Pay special attention to the double hyphen! (Windows 
powershell I think requires quotes: `cordova run android --release "--" 
--packageType=apk`). Don't forget to remove the preference before you make an 
actual release, otherwise end users might be able to load up the web inspector 
for your app.

Generally speaking debug builds should work identically to release builds as 
far as the native cordova shell goes, but release mode has stricter policies 
for SSL encryptions whereas debug builds often ignore SSL errors to accept 
self-signed certificates. Loading up the web inspector should give you insight 
on what is actually happening though.

GitHub link: 
https://github.com/apache/cordova/discussions/422#discussioncomment-6329994

----
This is an automatically sent email for dev@cordova.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to