From ca9c812e33f83c0b5eb8de91252fdbee8a23fbeb Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Fri, 19 Jan 2018 04:12:34 -0800 Subject: [PATCH] update change log --- CHANGELOG.md | 7 +++++- .../barcodescan/BarcodeScanPlugin.kt | 25 ------------------- 2 files changed, 6 insertions(+), 26 deletions(-) delete mode 100644 android/src/main/kotlin/com/yourcompany/barcodescan/BarcodeScanPlugin.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index aa4f751..1e77a7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,4 +5,9 @@ ## [0.0.2] - 11/7/17 -* Rewrite iOS scanner in Objective-C to avoid Swift use_frameworks! conflicts with other plugins (see https://github.com/flutter/flutter/issues/10968) \ No newline at end of file +* Rewrite iOS scanner in Objective-C to avoid Swift use_frameworks! conflicts with other plugins (see https://github.com/flutter/flutter/issues/10968) + +## [0.0.3] - 1/19/17 + +* Improved permission handling (thanks to [BenSower](https://github.com/BenSower)) +* Added MIT license \ No newline at end of file diff --git a/android/src/main/kotlin/com/yourcompany/barcodescan/BarcodeScanPlugin.kt b/android/src/main/kotlin/com/yourcompany/barcodescan/BarcodeScanPlugin.kt deleted file mode 100644 index 96a64ff..0000000 --- a/android/src/main/kotlin/com/yourcompany/barcodescan/BarcodeScanPlugin.kt +++ /dev/null @@ -1,25 +0,0 @@ -package com.yourcompany.barcodescan - -import io.flutter.plugin.common.MethodChannel -import io.flutter.plugin.common.MethodChannel.MethodCallHandler -import io.flutter.plugin.common.MethodChannel.Result -import io.flutter.plugin.common.MethodCall -import io.flutter.plugin.common.PluginRegistry.Registrar - -class BarcodeScanPlugin(): MethodCallHandler { - companion object { - @JvmStatic - fun registerWith(registrar: Registrar): Unit { - val channel = MethodChannel(registrar.messenger(), "barcode_scan") - channel.setMethodCallHandler(BarcodeScanPlugin()) - } - } - - override fun onMethodCall(call: MethodCall, result: Result): Unit { - if (call.method.equals("getPlatformVersion")) { - result.success("Android ${android.os.Build.VERSION.RELEASE}") - } else { - result.notImplemented() - } - } -}