Skip to content

Commit

Permalink
adapted MRZ View Config,
Browse files Browse the repository at this point in the history
Anlyine 3.20
  • Loading branch information
Jonas committed Jan 12, 2018
1 parent 5fe9bf0 commit 258618b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
13 changes: 12 additions & 1 deletion example/RNExampleApp/config/MRZConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,30 @@ export default {
"style": "rect",
"maxWidthPercent": "90%",
"maxHeightPercent": "90%",
"alignment": "top_half",
"alignment": "center",
"ratioFromSize" : {
"width": 125,
"height": 85
},
"strokeWidth": 2,
"cornerRadius": 4,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"feedbackStrokeColor": "000000",
"cropPadding": {
"x": -30,
"y": -90
},
"cropOffset": {
"x": 0,
"y": 90
},
"feedbackStrokeColor": "0099FF"
,
"offset": {
"x": 0,
"y": 30
}
},
"flash": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh",
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_3.19.0/Framework/AnylineResources.bundle",
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_3.20.0/Framework/AnylineResources.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
Expand Down
4 changes: 4 additions & 0 deletions example/RNExampleApp/ios/RNExampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
Expand All @@ -50,5 +52,7 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSCameraUsageDescription</key>
<string>Allow Anyline to access you camera?</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion example/RNExampleApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"reinstall": "yarn remove anyline-ocr-react-native-module && yarn add ../../plugin && react-native link",
"reinstall-pods": "cd ios/ && rm -rf Pods Podfile.lock && pod install --verbose && cd .. && react-native link",
"reinstall-pods": "cd ios/ && rm -rf Pods Podfile.lock && pod update --verbose && cd .. && react-native link",
"test": "jest",
"bundleAndroid": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/",
"bundleiOS": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios"
Expand Down

0 comments on commit 258618b

Please sign in to comment.