[CB-4792] Added keepCallback to the show function.
This commit is contained in:
parent
d647f689df
commit
0a3c5587e3
@ -203,7 +203,9 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.cordova.getActivity().runOnUiThread(runnable);
|
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 {
|
else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user