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
According to this blog post, Capacitor 6 will be the latest version from February 2024. From this point on, all plugins in this repository should also support Capacitor 6. Capacitor 5 will no longer be supported from this date.
The text was updated successfully, but these errors were encountered:
Correct configuration of dependencies for "@capacitor-mlkit/barcode-scanning" with capacitor 6.
Hello, I tell you that I am having problems using capacitor-mlkit (as seen in images number 1, 5, and 6 of the "project data" table). Specifically, I can't get the camera to run. That is to say, my camera component only works up to the point where permissions are requested (which are granted), however then the page goes blank (or at least the background of the page), and is left undone. nothing even if the "scan()" button is pressed multiple times.
Since when building the APK it was mentioned (as seen in image number 1) that it had to use Android SDK 34 (because it was using the latest versions of the dependencies, since it had had problems with previous versions), and since this requires gradle 8.2+, so I updated both things. However, that did not solve the problem.
Therefore I updated to Capacitor 6 to see if it worked, and since this requires @capacitor/core 6 (which in turn requires google services 4.4), I have migrated all capacitors to version 6 (including @capacitor/android), which which can be seen in image number 5.
Project Data
N°
Reference
Image
1
Package Build Logs
2
variables.gradle
3
build.gradle
4
gradle-wrapper.properties
5
ionic info
6
npm install
However since I am getting dependency conflict errors (because apparently barcode-scanning requires @capacitor/core 5.6), I was thinking if it would be advisable to use "--legacy-peer-deps", however since in the documentation of Capacitor to upgrade to version 6 mentions this:
According to this blog post, Capacitor 6 will be the
latest
version from February 2024. From this point on, all plugins in this repository should also support Capacitor 6. Capacitor 5 will no longer be supported from this date.The text was updated successfully, but these errors were encountered: