breautek commented on issue #1749: URL: https://github.com/apache/cordova-android/issues/1749#issuecomment-2488298274
> Is that means the corrent cordova implementation has no way to add an event listener to handling when the overview/recentApp button expect creating a plug in? Cordova plugins is what runs native code / project modifications, and exposes an API to the webview but I don't think there is even a native API to determine when the user clicks on the recent apps button. So I'm not sure if providing an event for that is even feasible. When recent apps view is open, your application should go into a pause state I think though, which means the `onPause` event should trigger. But it might also only go into a pause state when your app actually goes into the background (e.g. if the user selects a different app) > trying to add a privacy/splash screen to my app when pressing the menu button If this is your goal, then yah a cordova plugin would be necessary. https://www.npmjs.com/package/cordova-plugin-privacyscreen-enhanced seems to claim to do what you want I think. -- 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-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org