This code implements google scanner which doesn’t requires camera permission.
Documentation refer medium article here
Dowload App from google play store