wu9007 / qrcode_scanner

🛠 Flutter QR code scanner plugin.
MIT License
358 stars 185 forks source link

Please upgrade plugin #119

Closed sboal94 closed 1 year ago

sboal94 commented 3 years ago

The plugin qrscan uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

/.pub-cache/hosted/pub.dartlang.org/qrscan-0.3.2/android/src/main/java/com/shinow/qrscan/QrscanPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

marko-mlinarevic commented 3 years ago

For me it throws this


\android\app\src\debug\AndroidManifest.xml 
        uses-sdk:minSdkVersion 16 cannot be smaller than version 20 declaode_scanner\intermediates\library_manifest\debug\AndroidManifest.xml as t
        Suggestion: use a compatible library with a minSdk of at most 16,
                or increase this project's minSdk version to at least 20,
                or use tools:overrideLibrary="net.touchcapture.qr.flutter
BraveEvidence commented 1 year ago

This will help https://www.youtube.com/watch?v=w-n0jUrUtPI&list=PLQhQEGkwKZUqZC2QAp_u4ZAzqpsCCRvmM&index=10 https://www.youtube.com/watch?v=QpnVENc9dIA&list=PLQhQEGkwKZUqZC2QAp_u4ZAzqpsCCRvmM&index=11