@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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "6.0.43",
3
+ "version": "6.0.45",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",