I already searched forum and still cannot find an answer. I wanted to scan qrcode, so I used Camera & Media Video Tutorial as an example and I already granted camera permission but got an error like this:
I used components and blocks like these.
My iPhone Spec:
Model: iPhone XS MAX
IOS Version: 15.1