Skip to content

Commit

Permalink
changed ReadMe with new ScanModes and Links to Doku
Browse files Browse the repository at this point in the history
Version bumped and gradle update
  • Loading branch information
Jonas committed Oct 13, 2017
1 parent cc67649 commit 282899f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,28 @@ Stringified JSON with all the configurations, detailed information [here](https:
Keep in mind, that you have to add every permission to your project, you add in the config (vibrateOnResult -> vibration permission)
### scanMode
Available settings:

##### Energy Meter
```
“ANALOG_METER”
"AUTO_ANALOG_DIGITAL_METER"
“DIGITAL_METER”
“BARCODE”
“MRZ”
“ANYLINE_OCR”
“DOCUMENT”
"ANALOG_METER"
"DIGITAL_METER"
"DIAL_METER"
"HEAT_METER_4"
"HEAT_METER_5"
"HEAT_METER_6"
"SERIAL_NUMBER"
```
##### Other ScanModes
```
"BARCODE"
"MRZ"
"ANYLINE_OCR"
"DOCUMENT"
"LICENSE_PLATE"
```
Get more information in our [Docu](https://documentation.anyline.io/toc/platforms/react-native/getting_started.html#react-native-set-scan-mode).

### onResult Function
Callback -> Stringified JSON
```
Expand Down
3 changes: 1 addition & 2 deletions android/.settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#Thu Jul 20 13:24:02 CEST 2017
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ repositories {
dirs 'libs'
}
maven {
url 'https://anylinesdk.blob.core.windows.net/testing/'
url 'https://anylinesdk.blob.core.windows.net/maven/'
}
}

dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'io.anyline:anylinesdk:3.17.0-RC1@aar'
compile 'io.anyline:anylinesdk:3.17.0@aar'
compile 'com.google.android.gms:play-services-vision:10.0.1'
compile 'com.android.support:design:25.1.0'
compile "com.facebook.react:react-native:+" // From node_modules
Expand Down
2 changes: 1 addition & 1 deletion example/Anyline/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ allprojects {
url "$rootDir/../node_modules/react-native/android"
}
maven {
url 'https://anylinesdk.blob.core.windows.net/testing/'
url 'https://anylinesdk.blob.core.windows.net/maven/'
}
}
}
2 changes: 1 addition & 1 deletion example/Anyline/ios/Anyline/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>1.0</string>
<string>3.17</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 282899f

Please sign in to comment.