[InAppBrowser Plugin] Some javascript not running on IOS

Forge Component
(9)
Published on 7 Jun by OutSystems R&D
9 votes
Published on 7 Jun by OutSystems R&D

Hi,


I'm using InAppBrowser Plugin to call HTML file that I put on resources (and deploy to target).

The HTML file is heavy on javascript, as it is an API to third party systems.

But it seems that HTML is working as intended on Android, but not working on IOS.


Do you have any suggestion on fixing this ?

NB: I cannot share the HTML file, because it is proprietary file.


Thanks


Toto wrote:

Hi,


I'm using InAppBrowser Plugin to call HTML file that I put on resources (and deploy to target).

The HTML file is heavy on javascript, as it is an API to third party systems.

But it seems that HTML is working as intended on Android, but not working on IOS.


Do you have any suggestion on fixing this ?

NB: I cannot share the HTML file, because it is proprietary file.


Thanks


Hi,

I know InAppbrowser is much strong but still:

  • InAppBrowser uses the slow UIWebView (even when you're using a WKWebView plugin!), this plugin uses the ultra fast Safari Webview.
  • This is now Apple's recommended way to use a browser in your app.
  • A nicer / cleaner UI which is consistent with Safari and all other apps using a SFSafariViewController.
  • Whereas inappbrowser plugin is affected by ATS, this plugin is not. This means you can even load http URL's without whitelisting them.
  • Since iOS 9.2 or 9.3 you can swipe to go back to your app. Unfortunately, in favor of this Apple dropped the option to provide a custom transition (curl/flip/..) when presenting Safari.

Can you check the same with our below Forge Component :

Component:

https://www.outsystems.com/forge/component-versions/5311

Sample :

https://www.outsystems.com/forge/component-overview/5318/sample-safari-view-and-custom-chrome-tab

It is an alternative for InAppBrowser with SafariViewController [Native iOS] & CustomChromeTab [Native Android] support.

Hope that will help you : )

Thanks,

Assif