Skip to content

Commit

Permalink
Update to version 44.1.0 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickAnyline authored Mar 31, 2023
1 parent 91a9816 commit 81aaab0
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 83 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

## Documentation Resources

- [Getting Started](https://documentation-preview.anyline.com/cordova-plugin-component/43.0.0/getting-started.html)
- [Changelog](https://documentation-preview.anyline.com/cordova-plugin-component/43.0.0/changelog.html)
- [Getting Started](https://documentation-preview.anyline.com/cordova-plugin-component/latest/getting-started.html)
- [Changelog](https://documentation-preview.anyline.com/cordova-plugin-component/latest/changelog.html)

## Get Help (Support)

Expand Down
2 changes: 1 addition & 1 deletion example/config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.anyline.examples.cordova" version="43.0.0" ios-CFBundleVersion="3"
<widget id="com.anyline.examples.cordova" version="44.1.0" ios-CFBundleVersion="1"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Anyline Cordova Example</name>
Expand Down
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "anyline-cordova-example",
"version": "43.0.0",
"version": "44.1.0",
"description": "Cordova plugin for implementing Anyline",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"reinstall": "cordova platform remove android && cordova plugin remove io-anyline-cordova && cordova platform add android@latest && cordova plugin add ../plugin",
"reinstall-ios": "cordova platform remove ios; cordova plugin remove io-anyline-cordova; cordova platform add ios@latest; cordova plugin add ../plugin; cordova build ios",
"reinstall-ios": "cordova platform remove ios; cordova plugin remove io-anyline-cordova; cordova platform add ios@latest; cordova plugin add ../plugin",
"reinstall-win": "cordova platform remove windows && cordova plugin remove io-anyline-cordova && cordova platform add windows@latest && cordova plugin add ../plugin",
"overwrite": "rm -R ../src/android/io && rm -R ../src/android/res && cp -R platforms/android/src/io ../src/android/ && cp -R platforms/android/res ../src/android",
"overwrite-ios": "rm -R ../plugin/src/ios; cp -R platforms/ios/Anyline\\ Cordova\\ Example/Plugins/io-anyline-cordova ../plugin/src/ios",
Expand All @@ -23,14 +23,14 @@
"io-anyline-cordova": {}
},
"platforms": [
"android",
"ios"
]
},
"devDependencies": {
"cordova-ios": "^6.2.0",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-file": "^7.0.0",
"io-anyline-cordova": "file:../plugin"
"io-anyline-cordova": "file:../plugin",
"xml-js": "^1.6.11"
}
}
60 changes: 0 additions & 60 deletions example/www/assets/document_scan_view_config.json

This file was deleted.

1 change: 0 additions & 1 deletion example/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
},
function (err) {
console.error(err);
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-dialogs/index.html
var errorMessage = 'The Anyline SDK could not be initialized. Please check if you have a valid license key.';
navigator.notification.alert(errorMessage, null, 'Error', []);
},
Expand Down
3 changes: 1 addition & 2 deletions example/www/js/anyline.compositeScan.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ anyline.compositeScan = {
"pluginConfig": {
"id": "universal_serial_number",
"ocrConfig": {
"scanMode": "AUTO",
"model": "USNr.any"
"scanMode": "auto"
},
"cancelOnResult": true
},
Expand Down
3 changes: 1 addition & 2 deletions example/www/js/anyline.energy.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ anyline.energy = {
"pluginConfig": {
"id": "meter_serial_number",
"ocrConfig": {
"scanMode": "AUTO",
"model": "USNr.any"
"scanMode": "auto"
},
"cancelOnResult": true
},
Expand Down
3 changes: 1 addition & 2 deletions example/www/js/anyline.ocr.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ anyline.ocr = {
"pluginConfig": {
"id": "universal_serial_number",
"ocrConfig": {
"scanMode": "AUTO",
"model": "USNr.any"
"scanMode": "auto"
},
"cancelOnResult": true
},
Expand Down
2 changes: 1 addition & 1 deletion plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "io-anyline-cordova",
"version": "43.0.0",
"version": "44.1.0",
"description": "The cordova plugin for the Anyline SDK",
"cordova": {
"id": "io-anyline-cordova",
Expand Down
10 changes: 5 additions & 5 deletions plugin/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android" id="io-anyline-cordova" version="43.0.0">
xmlns:android="http://schemas.android.com/apk/res/android" id="io-anyline-cordova" version="44.1.0">

<name>AnylineSDK</name>

Expand Down Expand Up @@ -43,7 +43,7 @@
<!-- <resource-file src="src/ios/anyline_sdk/AnylineResources.bundle"/>-->

<!-- Anyline Framework & Resource Bundle CocoaPods-->
<framework src="Anyline" type="podspec" swift-version="4.2" spec="~> 43.0.0"/>
<framework src="Anyline" type="podspec" swift-version="4.2" spec="~> 44"/>

<!-- <podspec>
<config>
Expand Down Expand Up @@ -79,14 +79,14 @@
</feature>
</config-file>
<!-- add permissions in AndroidManifest.xml file-->
<config-file mode="merge" parent="/manifest" target="AndroidManifest.xml">
<config-file parent="/manifest" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.VIBRATE"/>
</config-file>
<config-file mode="merge" parent="/manifest/application" target="AndroidManifest.xml">
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<meta-data android:name="com.google.android.gms.vision.DEPENDENCIES" android:value="barcode"/>
</config-file>
<config-file mode="merge" parent="/manifest/application" target="AndroidManifest.xml">
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<activity android:name="io.anyline.cordova.ScanActivity" android:theme="@style/AppTheme" />
</config-file>

Expand Down
6 changes: 3 additions & 3 deletions plugin/src/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repositories{
repositories {
google()
jcenter()
maven { url 'https://anylinesdk.blob.core.windows.net/maven/'}
maven { url 'https://anylinesdk.blob.core.windows.net/maven/' }
flatDir {
dirs 'libs'
}
}

dependencies {
implementation 'io.anyline:anylinesdk:43.1.0'
implementation 'io.anyline:anylinesdk:44.1.0'
implementation("com.google.android.material:material:1.4.0-rc01")
}

Expand Down

0 comments on commit 81aaab0

Please sign in to comment.