Web view html can't acess local assects

@NiotronStaff
can you please :pray: :pray: :pray: add a feature on which web view html can acess local assets files
converting every time into .html files and uploading them is lengthy task

2 Likes

2 Likes

or this:

1 Like

i dont want to use .html files
i need to acess path locally on html code


so i can use it dynamically
with html code i can change 10 different images with same code
wiith out creating 10 different .html files and upload into assects,
do you understand what i mean?
Anke

1 Like

I think this is not possible as the WebView component probably does not use / has webView.loadDataWithBaseURL.

Maybe it is possible with the CustomWebView extension from Sunny.

1 Like

CustomWebView extension from Sunny
is not working plus it has lots of bugs

Thatโ€™s so helpful to know.

โ€ฆ for example?
I donโ€™t think so.

I already tried using it,
On last month on my projects
Its webview string components is not working
Plus path to local asects is not working
Canโ€™t able to locate .html file

I had tried using it many times ,not only once and twice now I donโ€™t have any energy left to do any more

If you think I am wrong :joy:
Please send me an working aia which
Can prof I am wrong :pray:?

No hard feelings dude :facepunch:
I am just saying my point

1 Like

The path to the assets with the compiled app (APK) is the same for all AI2 distros, as Iโ€™ve already shown:

grafik

1 Like

on sunny extension
webview html ,webview string,locate locale html files and images is not working

1 Like

Typing beginner multiple times will only make things worse for you.
Search in Appinventor community and you will find a lot of proofs to prove you wrong. If you have found a bug then file a issue in GitHub repo with proper details instead of saying here that it has a lot of bugs.
If you canโ€™t do a particular thing then either try to learn it or accept that you canโ€™t do that.
Though no hard feelings bro.

3 Likes

what i told is the truth,
nothing else,you extension has bugs on it
webview html ,webview string,locate locale html files and images is not working

use
http://localhost/
file name or image name it works on web view to show local assects

1 Like