Skip to content

Commit 36e4bbb

Browse files
V 2.0.0 Release
1 parent 73e2505 commit 36e4bbb

File tree

20 files changed

+179
-79
lines changed

20 files changed

+179
-79
lines changed

.idea/misc.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 59 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
## 1.0.2
1+
## 2.0.0
22

33
* Android: Fixes #137 and #132
44
* iOS: Fixes #97
5+
* PR: #184 and #182
6+
* Null safety migration
57

68
## 1.0.1
79

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ PLEASE FOLLOW **iOS** STEPS CAREFULLY
2323

2424
### iOS - Requires Swift support
2525

26-
Deployment target : 11
26+
Deployment target : 12
2727

2828
#### 1. Fresh start:
2929
1. Create a new flutter project. Please check for **Include swift support for iOS code**.
30-
2. After creating new flutter project open `/ios` project in Xcode and set minimum **deployment target to 11**
30+
2. After creating new flutter project open `/ios` project in Xcode and set minimum **deployment target to 12**
3131
and set **Swift version to 5**.
3232
3. After setting up the deployment target and swift version, close the Xcode then run **pod install** in `/ios` in flutter project.
3333

3434
You have done with basic configuration now proceed to section **How to use**.
3535

3636
#### 2. Adding to existing flutter app:
3737
#### If your existing ios code is **Swift** then you just need to do following.
38-
1. Set **minimum deployment target to 10** and set **Swift version to 5**.
38+
1. Set **minimum deployment target to 12** and set **Swift version to 5**.
3939
2. Close the Xcode and run **pod install** in `/ios` in flutter project.
4040
3. Now proceed to section **How to use**.
4141

4242
#### If your existing ios code is **Objective-C** then you need to do following.
4343
1. Create a new flutter project with same name at different location (Don't forget to check **Include swift support for iOS code** while creating)
4444
2. Just copy newly created `/ios` folder from project and replace with existing `/ios`.
45-
3. Open ios project in Xcode and set **minimum deployment target to 11** and set **Swift version to 5**.
45+
3. Open ios project in Xcode and set **minimum deployment target to 12** and set **Swift version to 5**.
4646
4. Run **pod install** in `/ios`
4747

4848
**Note: If you did any changes in ios part before, you might need to make these configuration again**
@@ -62,7 +62,7 @@ After making the changes in Android ans iOS add flutter_barcode_scanner to `pubs
6262
```
6363
dependencies:
6464
...
65-
flutter_barcode_scanner: ^1.0.2
65+
flutter_barcode_scanner: ^2.0.0
6666
```
6767

6868
### One time scan
0 Bytes
Binary file not shown.

android/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.5.3'
11+
classpath 'com.android.tools.build:gradle:4.1.3'
1212
}
1313
}
1414

@@ -22,11 +22,11 @@ rootProject.allprojects {
2222
apply plugin: 'com.android.library'
2323

2424
android {
25-
compileSdkVersion 29
25+
compileSdkVersion 30
2626

2727
defaultConfig {
2828
minSdkVersion 16
29-
targetSdkVersion 29
29+
targetSdkVersion 30
3030
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3131
}
3232
lintOptions {
@@ -35,8 +35,8 @@ android {
3535
}
3636

3737
dependencies {
38-
implementation 'androidx.appcompat:appcompat:1.1.0'
38+
implementation 'androidx.appcompat:appcompat:1.2.0'
3939
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
40-
implementation 'com.google.android.material:material:1.0.0'
41-
implementation 'com.google.android.gms:play-services-vision:19.0.0'
40+
implementation 'com.google.android.material:material:1.3.0'
41+
implementation 'com.google.android.gms:play-services-vision:20.1.3'
4242
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Sep 18 12:55:30 IST 2019
1+
#Tue Apr 20 01:37:31 IST 2021
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip

0 commit comments

Comments
 (0)