You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/07/24 02:56:46 UTC

[GitHub] [cordova-android] breautek commented on issue #1106: "backbutton" event no longer seems to work

breautek commented on issue #1106:
URL: https://github.com/apache/cordova-android/issues/1106#issuecomment-1193235459

   > > When I run cordova-android@11 without the splashscreen plugin it works fine.
   > 
   > ok i remove splash but error continue, i need to remove preferenaces config.xml?
   
   This is a closed issue that was originally reported against cordova-android@9. If the backbutton event is not working on cordova-android@11 it might not be the same issue as the original poster.
   
   If you use `cordova-plugin-googlemaps`, then read on, if not you can skip this blob of text. As posted https://github.com/apache/cordova-android/issues/1106#issuecomment-1192345495, there is a known issue where the `cordova-plugin-googlemaps` will intercept the `backbutton` event, and the plugin only supports handling one event handler. So if you're using this plugin, you must wait for the `deviceready` event to ensure plugins are initialised before attaching the `backbutton` event  handler. If you need more than 1 handler, then you will have to raise the issue with the maintainers of the `cordova-plugin-googlemaps` plugin. If plugins that intercept or override cordova APIs, it's on them to ensure they still work as expected. This isn't an issue with cordova-android.
   
   If you do not use the google maps plugin then I'd suggest opening a new issue with the issue form filled so that we can understand the current environment in todays context. More than likely it's a conflict with a plugin (not necessarily the splashscreen plugin). Creating a [minimal reproduction app](https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md) will go a long ways in helping us understand the context and reproduction of the issue.
   
   Kind regards,
   Norman
   
   


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org