Skip to Content

SAPUI5 Application not working in WebView

Hello,

we deployed our SAPUI5 application successfully to the HCP and it works fine in every major browser. It seems that there are some problem when opening the URL in a WebView in Android though.

We get this error message in the logcat:

"Uncaught Error: failed to load 'example/sj/Component.js' from ./Component.js: 404 - Not Found", source: https://sapui5.hana.ondemand.com/resources/sap-ui-core.js (175)

We are using a Component-preload.js to combine all the necessary files to a single request and this also does work fine if we open the URL in the browser but somehow this does not work inside the WebView? Is there something we need to be doing?

Thanks in advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 08, 2017 at 11:39 AM

    Problem still persists. Our current "fix" is that we provide all the files the WebView tries to load.

    Add comment
    10|10000 characters needed characters exceeded