Explorar el Código

update changelog, pubspec and README.md

flutter-beta
TheJuliuscanute hace 7 años
padre
commit
77a982f3ed
Se han modificado 7 ficheros con 19 adiciones y 13 borrados
  1. +5
    -5
      .packages
  2. +5
    -0
      CHANGELOG.md
  3. +2
    -2
      README.md
  4. +1
    -1
      android/src/main/kotlin/net/touchcapture/qr/flutterqr/QRView.kt
  5. +1
    -1
      android/src/main/kotlin/net/touchcapture/qr/flutterqr/QRViewFactory.kt
  6. +1
    -1
      example/android/app/build.gradle
  7. +4
    -3
      pubspec.yaml

+ 5
- 5
.packages Ver fichero

@@ -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/
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/
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/

+ 5
- 0
CHANGELOG.md Ver fichero

@@ -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

* flash light support added


+ 2
- 2
README.md Ver fichero

@@ -1,11 +1,11 @@
# qr_code_scanner
This package wires the PlatformView corresponding to iOS and Android inside flutter.

#Credits
# Credits
* Android: https://github.com/zxing/zxing
* iOS: https://github.com/mikebuss/MTBBarcodeScanner
* 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.
* Finally, I welcome PR's to make it better :), thanks

+ 1
- 1
android/src/main/kotlin/net/touchcapture/qr/flutterqr/QRView.kt Ver fichero

@@ -19,7 +19,7 @@ import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.PluginRegistry
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 {

companion object {


+ 1
- 1
android/src/main/kotlin/net/touchcapture/qr/flutterqr/QRViewFactory.kt Ver fichero

@@ -11,7 +11,7 @@ class QRViewFactory(private val registrar: PluginRegistry.Registrar) :
PlatformViewFactory(StandardMessageCodec.INSTANCE) {

override fun create(context: Context, id: Int, obj: Any?): PlatformView {
return QRView(context, registrar,id)
return QRView(registrar,id)
}

}

+ 1
- 1
example/android/app/build.gradle Ver fichero

@@ -39,7 +39,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "net.touchcapture.qr.flutterqrexample"
minSdkVersion 16
minSdkVersion 21
targetSdkVersion 27
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName


+ 4
- 3
pubspec.yaml Ver fichero

@@ -1,8 +1,9 @@
name: qr_code_scanner
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:
sdk: ">=2.0.0-dev.68.0 <3.0.0"


Cargando…
Cancelar
Guardar