From 0a3c5587e36305ecacfa2d9568444020a8b2c2a8 Mon Sep 17 00:00:00 2001 From: Max Woghiren Date: Wed, 11 Sep 2013 12:44:09 -0400 Subject: [PATCH] [CB-4792] Added keepCallback to the show function. --- src/android/InAppBrowser.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java index 0dd1094..497c15b 100644 --- a/src/android/InAppBrowser.java +++ b/src/android/InAppBrowser.java @@ -203,7 +203,9 @@ public class InAppBrowser extends CordovaPlugin { } }; this.cordova.getActivity().runOnUiThread(runnable); - this.callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK)); + PluginResult pluginResult = new PluginResult(PluginResult.Status.OK); + pluginResult.setKeepCallback(true); + this.callbackContext.sendPluginResult(pluginResult); } else { return false;