Use Ionic React to create a native QR code scanner

Recently, I want to create a QR Code Scanner with Ionic React. So I found the library: barcode scanner, a great library, the scan speed is very fast and also easy to use. But the problem is that it doesn’t work very well in Ionic React. 

The reason is Ionic use Web component, so If you use Ionic React, than you have to access its shadow dom to manipulate the background css.  So I did a youtube video to show you how to do that. 

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.