138
Views
18
Comments
[InAppBrowserEvents] Update component
Question
inappbrowserevents
Mobile icon
Forge asset by Rui Barbosa
Application Type
Mobile

Is it possible to update the component to a new version? There are a dependency with InAppBrowserEvents from a previous version 2.4.10 and right now, the deployed version  is 3.0.0.

Thanks in advance,

Alberto

UserImage.jpg
Md Mansur

Hi @Alberto Martínez

If your application on production environment and you don't have any issue so don't worry about the forge component version when you update your outsystems prod environment is auto Update

If your application in  Dev Environment so you can Simple update forge component and Refresh Dependency  so i will help in Future.

I have attached some Ref Link how to Update Forge as a Best practices so Please take as a ref:

https://www.outsystems.com/forums/discussion/94606/best-practice-and-procedure-for-rolling-back-forge-component-upgrade/

Thanks

Md Mansur



2023-02-22 16-42-12
Alberto Martínez

That change it´s needed to solve a bug that right now it´s raising it cannot read properties of undefined (reading 'open') and with the previous version it was working correctly.

Thanks

2022-04-21 15-28-18
João Matias

I'm facing this issue too.

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

Hi,
The newest version of the InAppBrowser plugin that the InAppBrowserEvents relied upon is very different and I will need to review the changes needed.

I suspect I will need to stop pointing to the supported InAppBrowser plugin in favor of the same plugin as before since I don't believe the new version allows us to expose the Events that this component exposed.

I'll deploy a new version once I figure out all the changes needed.

2023-12-26 12-31-52
Thiago Soares

Hello guys,  

Is there a possibility that the InAppBrowserEvents plugin will be updated to the latest version of InAppBrowser (3.1.1)?

Thank you and keep the good work!

2022-12-30 07-28-09
Navneet Garg

I'm facing the same issue.

2023-12-26 12-31-52
Thiago Soares

Hi there,

I'm back just to let you know that after some tests I realised that the new InAppBrowser version (3.1.1) includes a webblock to do the same job that InAppBrowserEvents did, hence if you use the new version of InAppBrowser you don't need the InAppBrowserEvents plugin.

Cheers,

UserImage.jpg
Anubhav Rai

Hi @Thiago Soares ,
I replaced "InAppBrowser Event"  with "InAppBrowser Plugin inbuilt event".
But now getting a error "ReferenceError: inAppBrowserRef is not defined ".
I tried to find this in new plugin but no luck.

In  "IAB Event" there is a action called "inAppBrowserRef_Init" which we call while initializing, but in "IAB Plugin" there is no such alternative for this.
Any suggestion on this? 

Thank you!

Regards,
Anubhav Rai

2021-03-04 23-50-05
Alberto Ferreira

Hi, Thiago.


Actually, the block already exists on previous versions, but it only triggers the Load Event on first load.


Did it triggers the Load Event for every new URL InAppBrowser loads, in this new version?


Thank you.

2023-12-26 12-31-52
Thiago Soares

Hi Alberto,


I got it. Unfortunately, I didn't test the mentioned use case.

I tested the other events and it works well.


It was a good idea to keep these event handlers together with InAppBrowser instead of separating them in another plugin (InAppBrowserEvents, in this case).


Good luck!

UserImage.jpg
Sabeeb Anengadan

Compelled to rollback inAppbrowser plugin update due to the incompatible version of InAppBrowserEvent ,Not sure all of the existing available events are available on inAppbrowser plugin ,requires further research on this

UserImage.jpg
Sabeeb Anengadan

@Thiago Soares  , @João Barata 

Look like OutSystems doesn't have any plan to add the additional capability for handling events.

1) Trigger event for every url loads/redirect - useful for OIDC flow for copying data from URL.

2) Read data from address bar /URL.


UserImage.jpg
benjamin kong

Hi,

Any updates on this as version 2.4.10  is not compatible with MABS11. MABS10 will be not be available end May 2025.


Appreciate any help.

UserImage.jpg
Sabeeb Anengadan

Hi Plugin Team ,


Please let us now if you have any plan for upgrading this components to adapt latest InAppbrowser Plugin  , This is critical to mobile application which uses the specific event handling technique provided by this plugin . Appreciate your communication on this so that app team can go for alternate path if this plugin is not going to maintain.

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.

UserImage.jpg
Ricky Dawson

Hi, we have the same issue - 

"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-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,

2022-12-01 23-45-12
José Gandarez

We have the same issue here. Thanks for the solution @João BarataWe will try it out, and we will be waiting to see if OutSystems will release a new version that works again for InAppBrowserEvents. 

Should we open a support ticket with OutSystems? Or do you think this thread is enough?

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