Skip to content

Commit

Permalink
Checklist, Version bump, final fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas committed Mar 18, 2019
1 parent 668549f commit c988693
Show file tree
Hide file tree
Showing 18 changed files with 116 additions and 83 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/RNExampleApp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ allprojects {
url "$rootDir/../node_modules/react-native/android"
}
google()
maven { url 'https://anylinesdk.blob.core.windows.net/testing/' }
maven { url 'https://anylinesdk.blob.core.windows.net/maven/' }
}
}
subprojects {
Expand Down
2 changes: 1 addition & 1 deletion example/RNExampleApp/config/BarcodeConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
"plugin": {
"id": "Barcode_ID",
"barcodePlugin": {
"barcodeFormatOptions": ["CODABAR", "EAN_13", "UPC_A"]
// "barcodeFormatOptions": ["CODABAR", "EAN_13", "UPC_A"]
}
},
"cutoutConfig": {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion example/RNExampleApp/config/DrivingLicenseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
},
"cutoutConfig": {
"style": "rect",
"maxWidthPercent": "99%%",
"maxWidthPercent": "99%",
"maxHeightPercent": "99%",
"alignment": "center",
"offset": {
Expand Down
4 changes: 1 addition & 3 deletions example/RNExampleApp/config/GermanIDFrontConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export default {
},
"flash": {
"mode": "manual",
"alignment": "bottom_right",
"imageOn": "flash_on",
"imageOff": "flash_off"
"alignment": "bottom_left"
},
"viewPlugin": {
"plugin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
7C3B6F7D21A81AC10025AC32 /* libAnylineReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C3B6F7C21A81AC10025AC32 /* libAnylineReact.a */; };
7C8225FB21BAE8AB0094FAD6 /* vin.ale in Resources */ = {isa = PBXBuildFile; fileRef = 7C8225FA21BAE8AB0094FAD6 /* vin.ale */; };
7C8DF008223C22380092811D /* cow_tag_scanner.ale in Resources */ = {isa = PBXBuildFile; fileRef = 7C8DEFE3223C22380092811D /* cow_tag_scanner.ale */; };
7C93BFAE215A8CAF00A07675 /* container_scanner.ale in Resources */ = {isa = PBXBuildFile; fileRef = 7C93BFAB215A8CAF00A07675 /* container_scanner.ale */; };
7C93BFAF215A8CAF00A07675 /* anyline_austrian_driving_license.ale in Resources */ = {isa = PBXBuildFile; fileRef = 7C93BFAC215A8CAF00A07675 /* anyline_austrian_driving_license.ale */; };
7C93BFB6215A8CBA00A07675 /* anyline_capitals.traineddata in Resources */ = {isa = PBXBuildFile; fileRef = 7C93BFB1215A8CBA00A07675 /* anyline_capitals.traineddata */; };
Expand Down Expand Up @@ -360,6 +361,7 @@
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
7C3B6F7C21A81AC10025AC32 /* libAnylineReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libAnylineReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
7C8225FA21BAE8AB0094FAD6 /* vin.ale */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = vin.ale; sourceTree = "<group>"; };
7C8DEFE3223C22380092811D /* cow_tag_scanner.ale */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cow_tag_scanner.ale; sourceTree = "<group>"; };
7C93BFAB215A8CAF00A07675 /* container_scanner.ale */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = container_scanner.ale; sourceTree = "<group>"; };
7C93BFAC215A8CAF00A07675 /* anyline_austrian_driving_license.ale */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = anyline_austrian_driving_license.ale; sourceTree = "<group>"; };
7C93BFB1215A8CBA00A07675 /* anyline_capitals.traineddata */ = {isa = PBXFileReference; lastKnownFileType = file; path = anyline_capitals.traineddata; sourceTree = "<group>"; };
Expand Down Expand Up @@ -578,6 +580,7 @@
isa = PBXGroup;
children = (
7C8225FA21BAE8AB0094FAD6 /* vin.ale */,
7C8DEFE3223C22380092811D /* cow_tag_scanner.ale */,
7C93BFAB215A8CAF00A07675 /* container_scanner.ale */,
7C93BFAC215A8CAF00A07675 /* anyline_austrian_driving_license.ale */,
);
Expand Down Expand Up @@ -1126,6 +1129,7 @@
7C93BFB7215A8CBA00A07675 /* deu.traineddata in Resources */,
7C93BFAE215A8CAF00A07675 /* container_scanner.ale in Resources */,
7C93BFAF215A8CAF00A07675 /* anyline_austrian_driving_license.ale in Resources */,
7C8DF008223C22380092811D /* cow_tag_scanner.ale in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
7C93BFBA215A8CBA00A07675 /* vin.any in Resources */,
Expand Down
2 changes: 1 addition & 1 deletion example/RNExampleApp/ios/RNExampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>8.0.0</string>
<string>9.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion example/RNExampleApp/ios/ale/cow_tag_scanner.ale

Large diffs are not rendered by default.

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": "anyline-react-native-example-app",
"version": "8.0.0",
"version": "9.0.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
4 changes: 2 additions & 2 deletions example/RNExampleApp/src/Overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ export default function Overview({ openAnyline, checkCameraPermissionAndOpen, di
}} />
</View>
<View style={styles.buttons}>
<Button style={styles.buttons} title={' Cow Tags'} color="#0099FF"
<Button style={styles.buttons} title={' Cattle Tag'} color="#0099FF"
disabled={disabled}
onPress={() => {
platformPermissionCheck('COW_TAG')
platformPermissionCheck('CATTLE_TAG')
}} />
</View>
</ScrollView>
Expand Down
6 changes: 3 additions & 3 deletions example/RNExampleApp/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import SerialNumberConfig from '../config/SerialNumber';
import VinConfig from '../config/VINConfig';
import USNRConfig from "../config/USNRConfig";
import ShipConConfig from "../config/ContainerShipConfig";
import CowTagConfig from "../config/CowTagConfig";
import CattleTagConfig from "../config/CattleTagConfig";
import GermanIDFrontConfig from '../config/GermanIDFrontConfig';

// Disable Warnings
Expand Down Expand Up @@ -103,9 +103,9 @@ class Anyline extends Component {
type = 'ANYLINE_OCR';
config = ShipConConfig;
break;
case 'COW_TAG':
case 'CATTLE_TAG':
type = 'ANYLINE_OCR';
config = CowTagConfig;
config = CattleTagConfig;
break;
case 'MRZ':
config = MRZConfig;
Expand Down
7 changes: 4 additions & 3 deletions plugin/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,16 @@ repositories {
dirs 'libs'
}
maven {
url 'https://anylinesdk.blob.core.windows.net/testing/'
url 'https://anylinesdk.blob.core.windows.net/maven/'
}
}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'io.anyline:anylinesdk:9-RC1@aar'
implementation 'com.google.android.gms:play-services-vision:17.0.2'
implementation 'io.anyline:anylinesdk:9@aar'
implementation 'com.google.firebase:firebase-ml-vision:19.0.2'
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
implementation 'com.android.support:design:26.1.0'
implementation "com.facebook.react:react-native:+" // From node_modules
}
Loading

0 comments on commit c988693

Please sign in to comment.