108
Views
6
Comments
[InAppBrowserEvents] In App Browser Event is not Compatible with MABS 11
Question
inappbrowserevents
Mobile icon
Forge asset by Rui Barbosa
Application Type
Mobile

HI, we are updating to MABS 11 but unfortunately we are having issues with InAppEvents, would you know how can we fix this we are encountering this issue


Can't find variable: inAppBrowserRef

undefined is not an object (evaluating 'cordova.InAppBrowser.open')

this component is working properly on version
InAppBrower version 2.4.10 but unfortunately not on InAppBrowser version 3.1.1

btw, we are using outsystems 11

Appreciate your help!

2025-04-15 10-28-35
Dhanasingh Dennison

Hi @Kyle Elizabeth Leyba 

Kindly use the updated version of forge asset, link below:

https://www.outsystems.com/forge/component-versions/1674/version/0/platform/

Thanks,

Dhanasingh Dennison.

UserImage.jpg
Kyle Elizabeth Leyba

Hi, i am already using the latest version of this but its still the same error. 

UserImage.jpg
Ricky Dawson

Hi, having the same problem.

"inAppBrowserRef is undefined"

Is there a fix on the horizon? Without this, it renders our mobile-app unusable.

Are there any other suggestions, or replacements?

Would appreciate any information

Thanks

2020-11-03 15-44-21
David Vaello

Hi,

We are in the same scenario. We asked to OutSystems a few weeks ago and today we got new updates:

"If you have a customer using the InAppBrower plugin version 2.4.10 (O11) or 1.0.1 (ODC) with events (either via the InAppBrowserEvents plugin or directly using the Load* javascript from the Cordova plugin), they should not update to the most recent version and wait for a future one, where we have included the events exposed in low code. Given this situation, while we work on a new version of the plugin we have changed MABS11 to be compatible with older versions of the InAppBrowser plugin, by changing the the minimum required version:

  • O11 from 3.1.0 to 2.4.10
  • ODC from 2.1.0 to 1.0.1

"

So you should use the InAppBrowser version 2.4.10 and InAppBrowserEvents version 1.0.11 in order to compile your app in MABS11.

Kind regards, David.

2024-02-08 19-20-59
Mateus Leite Pedrosa

I was facing the same problem.

Downgraded the plugins:
InAppBrowser version 2.4.10 and InAppBrowserEvents version 1.0.11
Solved the problem!

Thanks for sharing David

2020-10-08 19-51-35
João Barata
Staff

The InAppBrowserEvents plugin just exposes a few capabilities that the original InAppBrowser didn't and for that reason, it was using it as a core dependency.


However, with version 3.0.0, the underlying library of the InAppBrowser changed making it incompatible with the extra features of the InAppBrowserEvents.

As @David Vaello mentioned, we worked internally to try to come up with a solution, and in the meantime, that solution is to downgrade the InAppBrowser to version 2.4.10, which will restore the InAppBrowserEvents functionality while still being able to build your applications with MABS 11.

In the meantime, I'll continue with the path I was already taking of attempting to remove this dependency while still being able to use MABS 11.

Regards,

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.