Cordova inAppBrowser Hide / Show in Java Android
问题 I am working with Cordova and the inAppBrowser plugin for Android https://github.com/apache/cordova-plugin-inappbrowser I am trying to control the hardware back button for Android in Java file InAppBrowserDialog.java public void onBackPressed() { if (this.inAppBrowser == null) { this.dismiss(); } else { if (this.inAppBrowser.hardwareBack() && this.inAppBrowser.canGoBack()) { // this.inAppBrowser.goBack(); } else { // this.inAppBrowser.closeDialog(); } } } I do not want it to "goBack" or