CustomWebView : An extended form of Web Viewer

Hi, I encountered an issue with WordPress and CustomWebView. Every time I launch the app, authorization on the site is lost, as if the cookies aren't being saved. There are no such problems when working with any browser, authorization always remains.

It seems like there is a problem with saving cookies.

hey , i use CostumWebView extension its work well but i see , upload file does not working , its do nothing when i click on the choose file button on my website for uplad an image , pls help me thanls

hi i use costumwebview extension but when i choose a file to upload i get this error "Duplicate ShowFileChooser result " how i should solve this >

@PerPy

You need to show your relevant blocks for file upload and chooser.

this is my blocks i get duplicate ShowFileChooser result error

Move FileAccess property below SetWebView method.

1 Like

wow thanks broo i look answer for a week and you help me realy really thanks you can i have your contact to future problems?

I appreciate if you ask questions related to (free) extensions in their respective topics.

Hi, I'm just learning how to use mit ai2. I have been stuck for 3 days now trying to figure out how to make links within customwebview page either open in devices default browser or open in a native app. ie facebook link in facebook app, snapchat link in snapchat app. My site in customwebview is a new google sites website (not sure if it makes any difference). if anyone is able to help me out with how to block code this it would be much appreciated. thankyou in advance.

UPDATE:
Probably ugly code and I'm sure there is a better way to do it but this seems to be working if anyone has the same issue.

Thank you for your help

After following your instructions to set up the new window, opening new window work fine, but when I click back, the app closes showing this error.
Screenshot_20250119-165401_1

This is how I set it up.

image
This will return a valid id?

Please I don't understand what you mean

The answer is no, it returns not found, just read the error message

Taifun

Taifun please, do you know of a way to resolve this error

Your dictionary blocks are not returning a valid id, therefore you get the error. Use a valid id.

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

I want to add a message when a link clicked on is http and not https. I can't really figure out how to do it.
Also this:
"Can only download HTTP/HTTPS URIs: blob:https://github.com/453997b4-d72c-4c54-9aa6-41dfd4eef168"

When a link is clicked capture the url and test for url prefix.

The customwebview allows for blob urls now, read the documentation.

I know that's what I need to do, I just don't know how to do it.

Also thanks for the tip about the documentation. However, using the DownloadBlob block seems to have broken my downloading completely. That, or it's just not sending a notification that it is downloading.