-
-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Official document error #1240
Comments
This getter is defined here: https://github.com/juliansteenbakker/mobile_scanner/blob/master/lib/src/objects/mobile_scanner_state.dart#L66 What version of https://github.com/juliansteenbakker/mobile_scanner/blob/master/CHANGELOG.md#600 If you do not want to upgrade to that version, you can just do the check yourself, too. For that, you'll need to check both |
|
@hailuongsl97 What version of |
I use mobile_scanner v 6.0.2 |
@hailuongsl97 I do not understand what problem your are encountering? You can use Or are you referring to a different issue? |
Error
The getter 'hasCameraPermission' isn't defined for the type 'MobileScannerState'.
Try importing the library that defines 'hasCameraPermission', correcting the name to the name of an existing getter, or defining a getter or field named 'hasCameraPermission'.
There is an error with the hasCameraPermission option in the idChangeAppLifeState method part in the official document. Which part should it be replaced with? Can you correct it?
Currently, I am checking with isInitialized option.
The text was updated successfully, but these errors were encountered: