cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Application not working in WebView

puelo
Explorer
0 Kudos

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!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member676396
Discoverer
0 Kudos

Any update on this?

I am facing a similar type of issue. SAP browser is not getting opened in web view based android app & it's working in chrome browser

puelo
Explorer
0 Kudos

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