breautek commented on issue #1510: URL: https://github.com/apache/cordova-android/issues/1510#issuecomment-1335177939
I'm closing this issue because I think we have determined that delaying the splashscreen for too long Google will consider it as an ANR. So using the splashscreen has a loading screen is no longer ideal and will require apps to update and change the behaviour. Android's ANR detection is looking for the first paint by the application or anything that blocks the UI thread for an extended period of time. Delaying the splashscreen delays the first paint which is what triggers the ANR and it seems like this is intentional. So apps should update and strive to show their own loading screen as quickly as possible and only keep the splashscreen alive for a short time. Having the app have their own loading screen should pass the ANR detection checks as it will appear that your app is responsive since it is painting UI updates, etc. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
