| @@ -1,8 +1,8 @@ | |||||
| # Generated by pub on 2019-06-17 18:43:06.495486. | |||||
| collection:file:///Users/juliuscanute/Library/CrossPlatform/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/ | |||||
| # Generated by pub on 2019-06-18 09:09:30.310062. | |||||
| collection:file:///Users/juliuscanute/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/ | |||||
| flutter:file:///Users/juliuscanute/Library/CrossPlatform/flutter/packages/flutter/lib/ | flutter:file:///Users/juliuscanute/Library/CrossPlatform/flutter/packages/flutter/lib/ | ||||
| meta:file:///Users/juliuscanute/Library/CrossPlatform/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.6/lib/ | |||||
| meta:file:///Users/juliuscanute/.pub-cache/hosted/pub.dartlang.org/meta-1.1.6/lib/ | |||||
| sky_engine:file:///Users/juliuscanute/Library/CrossPlatform/flutter/bin/cache/pkg/sky_engine/lib/ | sky_engine:file:///Users/juliuscanute/Library/CrossPlatform/flutter/bin/cache/pkg/sky_engine/lib/ | ||||
| typed_data:file:///Users/juliuscanute/Library/CrossPlatform/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/ | |||||
| vector_math:file:///Users/juliuscanute/Library/CrossPlatform/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/ | |||||
| typed_data:file:///Users/juliuscanute/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/ | |||||
| vector_math:file:///Users/juliuscanute/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/ | |||||
| qr_code_scanner:lib/ | qr_code_scanner:lib/ | ||||
| @@ -1,3 +1,8 @@ | |||||
| ## 0.0.8 | |||||
| * migrated Android project to androidx (by Felipe César) | |||||
| * migrated iOS to Swift 5 (by Felipe César) | |||||
| ## 0.0.7 | ## 0.0.7 | ||||
| * flash light support added | * flash light support added | ||||
| @@ -1,11 +1,11 @@ | |||||
| # qr_code_scanner | # qr_code_scanner | ||||
| This package wires the PlatformView corresponding to iOS and Android inside flutter. | This package wires the PlatformView corresponding to iOS and Android inside flutter. | ||||
| #Credits | |||||
| # Credits | |||||
| * Android: https://github.com/zxing/zxing | * Android: https://github.com/zxing/zxing | ||||
| * iOS: https://github.com/mikebuss/MTBBarcodeScanner | * iOS: https://github.com/mikebuss/MTBBarcodeScanner | ||||
| * Special Thanks To: LeonDevLifeLog for his contributions towards improving this package. | * Special Thanks To: LeonDevLifeLog for his contributions towards improving this package. | ||||
| #TODO'S: | |||||
| # TODO'S: | |||||
| * iOS Native embedding is written to match what is supported in the framework as of the date of publication of this package. It needs to be improved as the framework support improves. | * iOS Native embedding is written to match what is supported in the framework as of the date of publication of this package. It needs to be improved as the framework support improves. | ||||
| * Finally, I welcome PR's to make it better :), thanks | * Finally, I welcome PR's to make it better :), thanks | ||||
| @@ -19,7 +19,7 @@ import io.flutter.plugin.common.MethodChannel | |||||
| import io.flutter.plugin.common.PluginRegistry | import io.flutter.plugin.common.PluginRegistry | ||||
| import io.flutter.plugin.platform.PlatformView | import io.flutter.plugin.platform.PlatformView | ||||
| class QRView(context: Context, private val registrar: PluginRegistry.Registrar, id: Int) : | |||||
| class QRView(private val registrar: PluginRegistry.Registrar, id: Int) : | |||||
| PlatformView,MethodChannel.MethodCallHandler { | PlatformView,MethodChannel.MethodCallHandler { | ||||
| companion object { | companion object { | ||||
| @@ -11,7 +11,7 @@ class QRViewFactory(private val registrar: PluginRegistry.Registrar) : | |||||
| PlatformViewFactory(StandardMessageCodec.INSTANCE) { | PlatformViewFactory(StandardMessageCodec.INSTANCE) { | ||||
| override fun create(context: Context, id: Int, obj: Any?): PlatformView { | override fun create(context: Context, id: Int, obj: Any?): PlatformView { | ||||
| return QRView(context, registrar,id) | |||||
| return QRView(registrar,id) | |||||
| } | } | ||||
| } | } | ||||
| @@ -39,7 +39,7 @@ android { | |||||
| defaultConfig { | defaultConfig { | ||||
| // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||||
| applicationId "net.touchcapture.qr.flutterqrexample" | applicationId "net.touchcapture.qr.flutterqrexample" | ||||
| minSdkVersion 16 | |||||
| minSdkVersion 21 | |||||
| targetSdkVersion 27 | targetSdkVersion 27 | ||||
| versionCode flutterVersionCode.toInteger() | versionCode flutterVersionCode.toInteger() | ||||
| versionName flutterVersionName | versionName flutterVersionName | ||||
| @@ -1,8 +1,9 @@ | |||||
| name: qr_code_scanner | name: qr_code_scanner | ||||
| description: QR code scanner that can be embedded inside flutter. It uses zxing in Android and MTBBarcode scanner in iOS. | description: QR code scanner that can be embedded inside flutter. It uses zxing in Android and MTBBarcode scanner in iOS. | ||||
| version: 0.0.7 | |||||
| author: Julius Canute<juliuscanute[*]touchcapture.net> | |||||
| homepage: https://github.com/juliuscanute/qr_code_scanner | |||||
| version: 0.0.8 | |||||
| author: Julius Canute <juliuscanute at touchcapture.net> | |||||
| homepage: https://juliuscanute.com | |||||
| repository: https://github.com/juliuscanute/qr_code_scanner | |||||
| environment: | environment: | ||||
| sdk: ">=2.0.0-dev.68.0 <3.0.0" | sdk: ">=2.0.0-dev.68.0 <3.0.0" | ||||