@capgo/capacitor-inappbrowser 8.17.0 → 8.17.2

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.
@@ -474,6 +474,14 @@ public class WebViewDialog extends ComponentDialog implements ProxyResponseRouti
474
474
  ensureDialogBackHandlerOnTop();
475
475
  }
476
476
 
477
+ @Override
478
+ public void show() {
479
+ super.show();
480
+ // Dialog.show() calls onStart() before mShowing = true, so the sync in onStart() always
481
+ // leaves the back callback disabled; re-sync now that the dialog is actually showing.
482
+ syncBackNavigationHandlers();
483
+ }
484
+
477
485
  @Override
478
486
  protected void onStop() {
479
487
  syncBackNavigationHandlers();
@@ -446,7 +446,7 @@ public class CapgoInAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
446
446
  case aware = "AWARE"
447
447
  case fakeVisible = "FAKE_VISIBLE"
448
448
  }
449
- private let pluginVersion: String = "8.17.0"
449
+ private let pluginVersion: String = "8.17.2"
450
450
  public let identifier = "CapgoInAppBrowserPlugin"
451
451
  public let jsName = "CapgoInAppBrowser"
452
452
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-inappbrowser",
3
- "version": "8.17.0",
3
+ "version": "8.17.2",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -54,6 +54,7 @@
54
54
  "maestro:test:android:blank-target": "export MAESTRO_DRIVER_STARTUP_TIMEOUT=300000 MAESTRO_CLI_NO_ANALYTICS=1 && sh ./scripts/prepare-android-maestro-device.sh && sh ./scripts/install-android-apk-with-retry.sh example-app/android/app/build/outputs/apk/debug/app-debug.apk && sh ./scripts/start-android-maestro-app.sh app.capgo.inappbrowser app.capgo.inappbrowser/.MainActivity && $HOME/.maestro/bin/maestro test --format junit --output maestro-report.xml --debug-output maestro-artifacts --flatten-debug-output -e APP_ID=app.capgo.inappbrowser example-app/.maestro/blank-target-http-stays-in-webview.yaml",
55
55
  "maestro:test:android:keyboard": "export MAESTRO_DRIVER_STARTUP_TIMEOUT=300000 MAESTRO_CLI_NO_ANALYTICS=1 && sh ./scripts/prepare-android-maestro-device.sh && sh ./scripts/install-android-apk-with-retry.sh example-app/android/app/build/outputs/apk/debug/app-debug.apk && sh ./scripts/start-android-maestro-app.sh app.capgo.inappbrowser app.capgo.inappbrowser/.MainActivity && $HOME/.maestro/bin/maestro test -e APP_ID=app.capgo.inappbrowser example-app/.maestro/keyboard-regression-android.yaml",
56
56
  "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
57
+ "check:cap9-deprecated": "node scripts/check-cap9-deprecated.mjs",
57
58
  "example:install": "cd example-app && bun install --frozen-lockfile",
58
59
  "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
59
60
  "changelog:ai": "node scripts/generate-ai-changelog.mjs"