CustomWebView : An extended form of Web Viewer

the path file:///mnt/sdcard/Makeroid/assets/ is working fine in webview by kodular…

1 Like

Remove script tags.

1 Like

:roll_eyes: :roll_eyes:
i don’t think so…

2 Likes

No lol :rofl:

1 Like

not working… i have used evaluate js when page is loaded.

Could you screenshot the blocks and the error message?

1 Like

Guys start your own topic

1 Like

Why? It is related to CustomWebView.

1 Like

whenever i use evaluate js even on screen initialization or when page loaded the webpage become white…
and block afterEvaluatedJs is not working when we remove script tag…

2 Likes

i’m not the owner of url that is used

Wait no, I forgot. App Inventor web viewers don’t support alerts. Try to find another way of sending a message.

That’s not good.

that works i have tried that :unamused:

tried right now but its not working in custom webview but if i use webview by kodular that worked,

Hi @nikzdreamer2001
Try to load js in this format:

  javascript:(function(){" + js + "})()
1 Like

I can’t say anything about AI2 webviewer but CustomWebView supports alert , confirm and prompt functions.

2 Likes

Sorry then.

1 Like

Why?
You haven’t done anything wrong.
No need to say sorry.

i think you have forgotten some quotes… i don’t know too javascript but i think it will treated as string…

1 Like

I think no.It is the same format which is used by Ai2 webviewer.
Give it a try.

1 Like