Skip to content

Commit

Permalink
release 3.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslaux committed Jul 5, 2018
1 parent 9f99b6e commit 9b89508
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 336 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ tsconfig.json
#Pods
example/RNExampleApp/ios/Podfile.lock

yarn-error.log
yarn-error.log
example/RNExampleApp/android/app/src/main/assets/index.android.bundle
example/RNExampleApp/android/app/src/main/assets/index.android.bundle.meta
example/RNExampleApp/ios/main.jsbundle
example/RNExampleApp/ios/main.jsbundle.meta

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
?O�e�������n���
�24��J�k�O$��̈́��D
8 changes: 4 additions & 4 deletions example/RNExampleApp/config/MRZConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ export default {
"outerColor": "000000",
"outerAlpha": 0.3,
"cropPadding": {
"x": -30,
"y": -90
"x": 0,
"y": 0
},
"cropOffset": {
"x": 0,
"y": 90
"y": 0
},
"feedbackStrokeColor": "0099FF",
"offset": {
Expand All @@ -58,7 +58,7 @@ export default {
"strokeWidth": 2
},
"mrz": {
"cropAndTransformID": true,
"cropAndTransformID": false,
"cropAndTransformErrorMessage": "Edges are not detected"
}
}
Expand Down
4 changes: 2 additions & 2 deletions example/RNExampleApp/ios/RNExampleApp/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
NSURL *jsCodeLocation;

jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
// jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"RNExampleApp"
Expand Down
4 changes: 2 additions & 2 deletions example/RNExampleApp/ios/RNExampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.25.0</string>
<string>3.26.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.25.0</string>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>
Expand Down
318 changes: 0 additions & 318 deletions example/RNExampleApp/ios/main.jsbundle

This file was deleted.

1 change: 0 additions & 1 deletion example/RNExampleApp/ios/main.jsbundle.meta

This file was deleted.

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": "3.25.0",
"version": "3.26.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
7 changes: 7 additions & 0 deletions example/RNExampleApp/src/Overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ export default function Overview({openAnyline, checkCameraPermissionAndOpen, dis
}}/>

</View>



<Text style={styles.text}>MRO</Text>

<View style={styles.buttons}>
<Button style={styles.buttons} title={' Vehicle Identification Number'} color="#0099FF"
disabled={disabled}
Expand All @@ -113,6 +118,8 @@ export default function Overview({openAnyline, checkCameraPermissionAndOpen, dis
}}/>

</View>


<Text style={styles.text}>OTHER</Text>

<View style={styles.buttons}>
Expand Down
2 changes: 2 additions & 0 deletions example/RNExampleApp/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import VinConfig from '../config/VINConfig';
import USNRConfig from "../config/USNRConfig";
import ShipConConfig from "../config/ContainerShipConfig";

// Disable Warnings
console.disableYellowBox = true;

class Anyline extends Component {

Expand Down
2 changes: 1 addition & 1 deletion plugin/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ repositories {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'io.anyline:anylinesdk:3.25.1@aar'
implementation 'io.anyline:anylinesdk:3.26.0@aar'
implementation 'com.google.android.gms:play-services-vision:15.0.2'
implementation 'com.android.support:design:26.1.0'
implementation "com.facebook.react:react-native:+" // From node_modules
Expand Down
2 changes: 1 addition & 1 deletion plugin/ios/AnylineReact.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Pod::Spec.new do |s|
s.source_files = "*.{h,m}"

s.dependency "React"
s.dependency "Anyline", "~> 3.25.0"
s.dependency "Anyline", "~> 3.26.0"
end
2 changes: 1 addition & 1 deletion plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anyline-ocr-react-native-module",
"version": "3.25.0",
"version": "3.26.0",
"main": "index.js",
"description": "A Plugin for connecting Anyline with React-Native",
"license": "SEE LICENSE IN LICENSE",
Expand Down

0 comments on commit 9b89508

Please sign in to comment.