You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
thanks for the efforts in making this package.
I started working on the app which uses this scanner a month ago. this package was one of the first that I initialized and tested as a widget to make sure I can use it when I need it. I used the example you pointed out and Initialized the BarcodeScanner Widget accordingly. However, now when I got back to it to actually use it (or let's say join with the rest of the screens in the app) It just keeps crashing. First I taught it's the "clash" between google_ml_kit and mlkit_scanner packages, but now, as I ended up trying to init the page with mlkit_scanner directly as a child class of MyApp (main) widget:
UPDATE: As I wanted to make sure that the issue truly exists I just copy-pasted the example to my project in order to see if it works. When I hit the startScan button the app just crashes. the only thing in debug log is this:
I/Process (12983): Sending signal. PID: 12983 SIG: 9
Lost connection to device.
Exited (sigterm)
UPDATE 2: I created a completely new project with mlkit_scanner and it worked. Got back to my project and commented out google_mlkit_text_recognition package and now it worked in my project also. This basically means: mlkit_scanner conflicts with google_mlkit_text_recognition. This is as far as I go, hope you find out what's the issue here. good luck.
The text was updated successfully, but these errors were encountered:
panksi
changed the title
I guess the issue is "Access denied finding property "vendor.camera.hal1.packagelist""....
mlkit_scanner package conflicts with google_mlkit_text_recognition package
Oct 4, 2022
Hi all,
thanks for the efforts in making this package.
I started working on the app which uses this scanner a month ago. this package was one of the first that I initialized and tested as a widget to make sure I can use it when I need it. I used the example you pointed out and Initialized the BarcodeScanner Widget accordingly. However, now when I got back to it to actually use it (or let's say join with the rest of the screens in the app) It just keeps crashing. First I taught it's the "clash" between google_ml_kit and mlkit_scanner packages, but now, as I ended up trying to init the page with mlkit_scanner directly as a child class of MyApp (main) widget:
In my main.dart file I did this
in scan QR code page I did this:
This is the Debug log:
UPDATE: As I wanted to make sure that the issue truly exists I just copy-pasted the example to my project in order to see if it works. When I hit the startScan button the app just crashes. the only thing in debug log is this:
I/Process (12983): Sending signal. PID: 12983 SIG: 9
Lost connection to device.
Exited (sigterm)
UPDATE 2: I created a completely new project with
mlkit_scanner
and it worked. Got back to my project and commented outgoogle_mlkit_text_recognition
package and now it worked in my project also. This basically means:mlkit_scanner
conflicts withgoogle_mlkit_text_recognition
. This is as far as I go, hope you find out what's the issue here. good luck.The text was updated successfully, but these errors were encountered: