ljudbane commented on issue #1206: URL: https://github.com/apache/cordova-android/issues/1206#issuecomment-836958900
> We're currently facing an issue, which seems a bit related: In our case, if we listen for the "backbutton" event directly on the app start (after deviceready), it won't be called unless the user first clicks at the webview/app. > > On older devices (eg. Android 6) this is working. On devices with Android 10 and 11, the user has to touch the app screen first, otherwise the "backbutton"-event won't be fired. This looks like an issue with Splash screen plugin. I've had a similar issue that BACK button closed the app unless something was clicked inside the app. Once 'it got focus' the BACK button started working normaly, i.e. it was caught by my handler. [Relevent issue from splash screen project](https://github.com/apache/cordova-plugin-splashscreen/issues/186). Sorry for going off-topic a bit, i just wanted to clarify that BACK button not working at application start is a different issue. -- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
