| @@ -6,15 +6,6 @@ | |||||
| A QR code scanner that works on both iOS and Android by natively embedding the platform view within Flutter. The integration with Flutter is seamless, much better than jumping into a native Activity or a ViewController to perform the scan. | A QR code scanner that works on both iOS and Android by natively embedding the platform view within Flutter. The integration with Flutter is seamless, much better than jumping into a native Activity or a ViewController to perform the scan. | ||||
| # *Warning* | |||||
| If you are using Flutter Beta or Dev channel (1.25 or 1.26) you can get the following error: | |||||
| `java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)"` | |||||
| This is a bug in Flutter which is being tracked here: https://github.com/flutter/flutter/issues/72185 | |||||
| There is a workaround by adding `android.enableDexingArtifactTransform=false` to your `gradle.properties` file. | |||||
| ## Screenshots | ## Screenshots | ||||
| <table> | <table> | ||||
| <tr> | <tr> | ||||
| @@ -132,6 +123,15 @@ In ```android/build.gradle``` change ```classpath 'com.android.tools.build:gradl | |||||
| In ```android/gradle/wrapper/gradle-wrapper.properties``` change ```distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip``` to ```distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip``` | In ```android/gradle/wrapper/gradle-wrapper.properties``` change ```distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip``` to ```distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip``` | ||||
| ### *Warning* | |||||
| If you are using Flutter Beta or Dev channel (1.25 or 1.26) you can get the following error: | |||||
| `java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)"` | |||||
| This is a bug in Flutter which is being tracked here: https://github.com/flutter/flutter/issues/72185 | |||||
| There is a workaround by adding `android.enableDexingArtifactTransform=false` to your `gradle.properties` file. | |||||
| ## iOS Integration | ## iOS Integration | ||||
| In order to use this plugin, add the following to your Info.plist file: | In order to use this plugin, add the following to your Info.plist file: | ||||
| ``` | ``` | ||||