@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
|
-
|
|
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
|
}
|