lempere commented on PR #1831: URL: https://github.com/apache/cordova-android/pull/1831#issuecomment-3805983172
This is a partial solution based on my testing. Launching the emulated back button key: `adb shell input keyevent 4` works fine. However, when you use the back event directly (like the image), it gets captured in the callback and doesn't propagate to the webview. <img width="398" height="262" alt="image" src="https://github.com/user-attachments/assets/30f9571b-c600-4d1a-9331-0ed6d69c1ce6" /> Adding the `backCallback = () → { webview.backHistory(); };` works, but then the emulated key make two back actions. -- 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]
