QR Code scanner not working

how ?
please guide me.

1 Like

Try to do something like this :


Hello Salman_Dev,

thank you for replying,
please guide me how to use blocks and there is no CustomWebView option i found in MIT Inventor 2.

1 Like

Maybe you can improve your chance of getting solutions by learning how to correctly search your query in the community.
For example:

there is no CustomWebView option Found . how can i use

First you have download the extension here :

CustomWebView : An extended form of Web Viewer

Second, learn how to add extensions in MIT AI2 :

App Inventor Extensions

1 Like

I have done according to you even getting issue
i attached some pics what i have done and when i install app then blank screen seen

why, there is a list view and camera components?

1 Like

you suggest me for this block thats why

1 Like

Okay let me explain

1 Like

So, your app currently only uses the WebViewer Component right?

So if you using CustomWebView by vknow360 that means you don't need to use WebViewer Component which mean you only need an arrangement to make it as WebView.

1 Like

I have a website "https://www.nagalaahipaint.com/" in this site there is a page that scans qr code and takes permission to open camera.
all the pages working well but in this page i am facing problem.

i am new and i do not know how to use MIT Inventor so please help me to create this app

1 Like

@raj_kumar how can i login into your website

1 Like

id and password

having read please delete

1 Like

I've been on ScreenToken but where is the button to scan

1 Like

there is no button. when we go on Token->Scan Token in navigation qr code scanner opens

Okay got it


You may want to learn how to code with App Inventor. Knowing how to use Blocks is more useful than to randomly copying code Blocks that you do not understand.

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

okk thank you sir

have your checked ?
is there any possibility that the scanner will work?