@capgo/inappbrowser 6.0.43 → 6.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -228,7 +228,7 @@ public class InAppBrowserPlugin
|
|
|
228
228
|
|
|
229
229
|
@PluginMethod
|
|
230
230
|
public void clearCookies(PluginCall call) {
|
|
231
|
-
String url = call.getString("url");
|
|
231
|
+
String url = call.getString("url", currentUrl);
|
|
232
232
|
Boolean clearCache = call.getBoolean("cache", false);
|
|
233
233
|
if (url == null || TextUtils.isEmpty(url)) {
|
|
234
234
|
call.reject("Invalid URL");
|