Hi,
I’ve reviewed your documentation but couldn’t find any reference to support for certain extended functionalities of the Cordova InAppBrowser plugin. I understand the Forge component “InAppBrowser Events” isn’t officially supported, but I wanted to check if similar capabilities are currently on your roadmap or backlog.
In particular, I’m interested in the following features:
beforeload: an event triggered before the navigation starts, allowing for conditional logic or URL validation prior to loading.
loadstart: an event fired when the page begins loading, which can be useful for displaying loading indicators or logging navigation events.
executeScript: a critical method that enables injection of JavaScript into the InAppBrowser context—essential for customizing or altering page behavior dynamically within the app.
Any insight into planned support or possible workarounds would be greatly appreciated.
Thanks in advance!
Hi Ricardo Monteiro!
The new version of Outsystems component InAppBrowser use Safari View Controller and Custome Chrome Tabs (native libraries of iOS and Android OS). With that libraries, it is not easy to access on the events that we have on old plugin "InAppBrowser Events".You can check the plugin code on https://github.com/OutSystems/cordova-outsystems-inappbrowser
I recommend updating your InAppBrowser for 2.4.10 version if you want to generate your app in MABS 11.https://success.outsystems.com/support/release_notes/mobile_apps_build_service_versions/mabs_11_release_notes/
Thanks for the heads-up.
However, I’d prefer not to stay tied to an older plugin version, especially considering the risk of it eventually becoming unsupported by MABS. I understand the limitations with the new native libraries, but I believe it’s important to align with the officially supported versions to ensure long-term compatibility and maintainability.
Let me know if there are any recommended alternatives or workarounds for handling the missing events with the latest version.