diff --git a/README.md b/README.md index 3e6cd0f..f469e87 100644 --- a/README.md +++ b/README.md @@ -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. -# *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 @@ -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``` +### *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 In order to use this plugin, add the following to your Info.plist file: ```