@capgo/inappbrowser 7.16.8 → 7.16.9

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.
@@ -1023,7 +1023,10 @@ public class InAppBrowserPlugin
1023
1023
  new CustomTabsCallback() {
1024
1024
  @Override
1025
1025
  public void onNavigationEvent(int navigationEvent, Bundle extras) {
1026
- if (navigationEvent == NAVIGATION_FINISHED) {
1026
+ // Only fire browserPageLoaded for Custom Tabs, not for WebView
1027
+ if (
1028
+ navigationEvent == NAVIGATION_FINISHED && webViewDialog == null
1029
+ ) {
1027
1030
  notifyListeners("browserPageLoaded", new JSObject());
1028
1031
  }
1029
1032
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "7.16.8",
3
+ "version": "7.16.9",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",