Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for older android versions #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ android {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
implementation('com.journeyapps:zxing-android-embedded:4.3.0') { transitive = false }
implementation 'com.google.zxing:core:3.3.0'

coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation "androidx.multidex:multidex:2.0.1"
Expand Down
13 changes: 13 additions & 0 deletions example/ios/Flutter/Generated.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/ciprianradu/Development/flutter
FLUTTER_APPLICATION_PATH=/Users/ciprianradu/Development/ai_barcode/example
COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=false
TREE_SHAKE_ICONS=false
PACKAGE_CONFIG=.dart_tool/package_config.json
13 changes: 13 additions & 0 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/ciprianradu/Development/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/ciprianradu/Development/ai_barcode/example"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.dart_tool/package_config.json"
19 changes: 19 additions & 0 deletions example/ios/Runner/GeneratedPluginRegistrant.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// Generated file. Do not edit.
//

// clang-format off

#ifndef GeneratedPluginRegistrant_h
#define GeneratedPluginRegistrant_h

#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface GeneratedPluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end

NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
28 changes: 28 additions & 0 deletions example/ios/Runner/GeneratedPluginRegistrant.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// Generated file. Do not edit.
//

// clang-format off

#import "GeneratedPluginRegistrant.h"

#if __has_include(<ai_barcode/AiBarcodePlugin.h>)
#import <ai_barcode/AiBarcodePlugin.h>
#else
@import ai_barcode;
#endif

#if __has_include(<permission_handler/PermissionHandlerPlugin.h>)
#import <permission_handler/PermissionHandlerPlugin.h>
#else
@import permission_handler;
#endif

@implementation GeneratedPluginRegistrant

+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[AiBarcodePlugin registerWithRegistrar:[registry registrarForPlugin:@"AiBarcodePlugin"]];
[PermissionHandlerPlugin registerWithRegistrar:[registry registrarForPlugin:@"PermissionHandlerPlugin"]];
}

@end
78 changes: 39 additions & 39 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ packages:
dependency: "direct main"
description:
name: ai_awesome_message
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
ai_barcode:
Expand All @@ -14,103 +14,103 @@ packages:
path: ".."
relative: true
source: path
version: "3.2.2"
version: "3.2.4"
ai_barcode_platform_interface:
dependency: transitive
description:
name: ai_barcode_platform_interface
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
ai_barcode_web:
dependency: transitive
description:
name: ai_barcode_web
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
air_design:
dependency: "direct main"
description:
name: air_design
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
airoute:
dependency: "direct main"
description:
name: airoute
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
async:
dependency: transitive
description:
name: async
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.8.2"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
characters:
dependency: transitive
description:
name: characters
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
clock:
dependency: transitive
description:
name: clock
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
crypto:
dependency: transitive
description:
name: crypto
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2"
csslib:
dependency: transitive
description:
name: csslib
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "0.17.2"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "1.0.5"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
flutter:
Expand All @@ -132,77 +132,77 @@ packages:
dependency: transitive
description:
name: html
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "0.15.0"
js:
dependency: transitive
description:
name: js
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.4"
matcher:
dependency: transitive
description:
name: matcher
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
meta:
dependency: transitive
description:
name: meta
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
path:
dependency: transitive
description:
name: path
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
permission_handler:
dependency: "direct main"
description:
name: permission_handler
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "8.3.0"
permission_handler_platform_interface:
dependency: transitive
description:
name: permission_handler_platform_interface
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "3.7.0"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
version: "2.1.3"
qr:
dependency: transitive
description:
name: qr
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
qr_flutter:
dependency: transitive
description:
name: qr_flutter
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0"
sky_engine:
Expand All @@ -214,70 +214,70 @@ packages:
dependency: transitive
description:
name: source_span
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.2"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.10.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.9"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
universal_html:
dependency: transitive
description:
name: universal_html
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
universal_io:
dependency: transitive
description:
name: universal_io
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
sdks:
Expand Down
Loading