qrcode_scanner icon indicating copy to clipboard operation
qrcode_scanner copied to clipboard

Please upgrade plugin

Open sboal94 opened this issue 3 years ago • 1 comments

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.

sboal94 avatar Aug 18 '21 11:08 sboal94

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

marko-mlinarevic avatar Aug 18 '21 12:08 marko-mlinarevic

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

BraveEvidence avatar Mar 08 '23 07:03 BraveEvidence