Skip to content

Commit

Permalink
Version bump to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAtAnyline committed Jun 4, 2020
2 parents 80a30b7 + f7da7f5 commit a1f519b
Show file tree
Hide file tree
Showing 17 changed files with 258 additions and 642 deletions.
7 changes: 7 additions & 0 deletions example/RNExampleApp/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ android {
pickFirst 'lib/x86/libgnustl_shared.so'
pickFirst 'lib/*/libc++_shared.so'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}


}


Expand Down
10 changes: 5 additions & 5 deletions example/RNExampleApp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

buildscript {
ext {
minSdkVersion = 19
minSdkVersion = 21
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
Expand Down Expand Up @@ -43,7 +43,7 @@ allprojects {
}


task wrapper(type: Wrapper) {
gradleVersion = '4.7'
distributionUrl = distributionUrl.replace("bin", "all")
}
//task wrapper(type: Wrapper) {
// gradleVersion = '5.4'
// distributionUrl = distributionUrl.replace("bin", "all")
//}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip
5 changes: 5 additions & 0 deletions example/RNExampleApp/config/DocumentConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ export default {
},
"cancelOnResult": true
},
"document": {
"manualCaptureButton": {
"buttonColor": "0099ff"
}
},
quality: 90
},
}
87 changes: 43 additions & 44 deletions example/RNExampleApp/config/TINConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,49 +16,48 @@ export default {
'NE9tUzVraWdNUVZLaW8vaWlJS2tIVEVUdUxjYWJEWWtacExZdVR2YnU1S1hIc0R6\n' +
'b1NxUUJTL3ZFS3VYUHhhCjNnanZnS285M3lrSjJKQjVBZjZiSkE9PQo=',
options: {
camera: {
captureResolution: '720p',
},
flash: {
mode: 'manual',
alignment: 'bottom_right',
imageOn: 'flash_on',
imageOff: 'flash_off',
},
viewPlugin: {
plugin: {
id: 'TIN',
ocrPlugin: {
tinConfig: {},
},
"camera": {
"captureResolution": "720p"
},
cutoutConfig: {
style: 'rect',
width: 720,
alignment: 'center',
maxWidthPercent: '80%',
ratioFromSize: {
width: 720,
height: 144,
},
outerColor: '000000',
outerAlpha: 0.3,
strokeWidth: 2,
strokeColor: 'FFFFFF',
cornerRadius: 2,
feedbackStrokeColor: '0099FF',
"flash": {
"mode": "manual",
"alignment": "bottom_right"
},
scanFeedback: {
animation: 'traverse_multi',
animationDuration: 250,
style: 'contour_rect',
strokeWidth: 2,
strokeColor: '0099FF',
beepOnResult: true,
vibrateOnResult: true,
blinkAnimationOnResult: true,
},
cancelOnResult: true,
},
},
};
"viewPlugin" : {
"plugin": {
"id": "TIN",
"ocrPlugin": {
"tinConfig":{
}
}
},
"cutoutConfig" : {
"style": "rect",
"width": 720,
"alignment": "center",
"maxWidthPercent": "80%",
"ratioFromSize": {
"width": 720,
"height": 144
},
"outerColor": "000000",
"outerAlpha": 0.3,
"strokeWidth": 2,
"strokeColor": "FFFFFF",
"cornerRadius": 2,
"feedbackStrokeColor": "0099FF"
},
"scanFeedback" : {
"animation": "traverse_multi",
"animationDuration" : 250,
"style": "contour_rect",
"strokeWidth": 2,
"strokeColor": "0099FF",
"beepOnResult": true,
"vibrateOnResult": true,
"blinkAnimationOnResult": true
},
"cancelOnResult" : true
}
}
}
2 changes: 1 addition & 1 deletion example/RNExampleApp/ios/RNExampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>20.0.0</string>
<string>21.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion example/RNExampleApp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RNExampleApp",
"version": "20.0.0",
"version": "21.0.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
214 changes: 0 additions & 214 deletions example/RNExampleApp/src/Overview_old.js

This file was deleted.

Loading

0 comments on commit a1f519b

Please sign in to comment.