48
Views
8
Comments
cordova.InAppBrowser.open
Question

Hi there

I update the latest version of idPMobile and find that this line of code failed at InAppBrowserEvents.

inAppBrowserRef = cordova.InAppBrowser.open($parameters.Url, $parameters.Target, $parameters.OptionsString);


I have updated the dependence and build a new version, but these cannot help.

Do you have any suggestion? Thanks in advance


The error of from service center is as below:



Session IdgR/ZGatVbU2I7JB4OBq95A==

ServerE3QYM-DV4YUV

Sourcenull

MessageCannot read properties of undefined (reading 'open')

Environment InformationeSpaceVer: Id=48774, PubId=0, CompiledWith=11.18.1.37828RequestUrl: https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/moduleservices/log?clientTimeInMillis=1734013460017 (Method: POST)AppDomain: /LM/W3SVC/1/ROOT/CPCE_PolyU-82-133784863575212562FilePath: D:\OutSystems\Platform Server\running\CPCE_PolyU.1519993958\ClientIp: 10.14.15.215 X-Forwarded-For: 86.152.83.47DeviceUUID: 8c2af6286713ab5fLocale: en-USDateFormat: dd-MM-yyyyPID: 1972 ('w3wp', Started='12/11/2024 5:25:50 PM', Priv=1674Mb, Virt=2108039Mb)TID: 5Thread Name:.NET: 4.0.30319.42000Client Runtime Packages: client-runtime-core= 3.27.0;client-runtime-view-framework-react= 3.5.0;client-runtime-widgets= 3.10.0;DeviceModel: SM-G9900DeviceUUID: 8c2af6286713ab5fOperatingSystem: Android 14NativeShell: 13.9.2AppVersionCode: 53AppVersionName: 0.27NetworkStatus: OnlineNetworkType: WIFICordova: 12.0.0Client-Side Log

StackTypeError: Cannot read properties of undefined (reading 'open')    at https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/InAppBrowserEvents.InAppBrowserEvents.InAppBrowser.mvc.js?NAR7yxJyKbG+QdmKl1vo4g:994:40    at e.safeExecuteJSNode (https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:16:12288)    at https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/InAppBrowserEvents.InAppBrowserEvents.InAppBrowser.mvc.js?NAR7yxJyKbG+QdmKl1vo4g:660:12    at d (https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:2:16076)    at Object.f [as executeSequence] (https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:2:15822)    at https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/InAppBrowserEvents.InAppBrowserEvents.InAppBrowser.mvc.js?NAR7yxJyKbG+QdmKl1vo4g:653:16    at d (https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:2:16076)    at Object.f [as executeSequence] (https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:2:15822)    at https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/InAppBrowserEvents.InAppBrowserEvents.InAppBrowser.mvc.js?NAR7yxJyKbG+QdmKl1vo4g:650:16    at d (https://copacethkpu-dev.outsystemsenterprise.com/CPCE_PolyU/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:2:16076)

2026-03-06 17-10-46
Susheel Yadav

Hi Ivan Lam  ,

Which Forge component are you using? 

UserImage.jpg
Ivan Lam

Hi Susheel

Thanks for your reply.

I used idPMobile and InAppBrowserPlugin. While idPMobile used InAppBrowserEvents.


Ivan



UserImage.jpg
Hanh Pham

Hi, Have you fixed this issue? I am facing with the same error

UserImage.jpg
Jake Zane

Also experiencing this issue. The old plugin isnt compatible with MABS 11.0, so if they deprecate 10.0 we're not going to be able to generate new app builds. 

UserImage.jpg
Ivan Lam

No, just as Jake said, still using MABS10

UserImage.jpg
Ivan Lam
UserImage.jpg
Hanh Pham

I dont use InAppBrowserEvents anymore, and directly use action in InAppBrowserPlugin . and it work well

UserImage.jpg
Ivan Lam

MABS11 solved the problem. Just skip MABS10 to use MABS11

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