Skip to content

Commit

Permalink
Release 51.3.1 (#87)
Browse files Browse the repository at this point in the history
* Release 51.3.1
  • Loading branch information
igor-graca authored Feb 27, 2024
1 parent a75cc40 commit d42d5ee
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 29 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ plugin/src/windows/AnylineProxy/AnylineProxy/obj
plugin/src/windows/AnylineProxy/AppUwpJS/bin
plugin/src/windows/AnylineProxy/AppUwpJS/bld
example/package-lock.json
.history
.history

build.json
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

## Documentation Resources

- [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)
- [Getting Started](https://documentation.anyline.com/cordova-plugin-component/latest/getting-started.html)
- [Release Notes](https://documentation.anyline.com/cordova-plugin-component/latest/release-notes.html)

## Get Help (Support)

We don't actively monitor issues raised on Github, instead please open a support request
using the [Anyline Helpdesk](https://anyline.atlassian.net/servicedesk/customer/portal/2/group/6).
using the [Anyline Helpdesk](https://support.anyline.com).

When raising a support request based on this Github Issue, please fill out and include the following information:

Expand All @@ -28,4 +28,4 @@ Thank you!

## License

See LICENSE file.
See LICENSE file.
24 changes: 23 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ See **package.json** for more commands.

### Running The Example App

IMPORTANT: Before running the example app, replace the string defined in anyline.license.js with a valid license key. To find out how to obtain a license key, see License.

Android:
```
cordova run android --device
Expand All @@ -36,7 +38,27 @@ iOS:
cordova run ios --device
```

IMPORTANT: Before running the example app, replace the string defined in anyline.license.js with a valid license key. To find out how to obtain a license key, see License.
On iOS, a [build configuration file](https://cordova.apache.org/docs/en/12.x/guide/platforms/ios/#using-buildjson) may be more convenient to allow you to build the examples app in the way you want. To do so, create a build.json file in the `example` directory containing the following:

```
{
"ios": {
"debug": {
"codeSignIdentity": "Apple Development",
"developmentTeam": "<YOUR_TEAM_ID>",
"automaticProvisioning": true,
"packageType": "development"
},
"release": {
"codeSignIdentity": "Apple Development",
"developmentTeam": "<YOUR_TEAM_ID>",
"packageType": "app-store",
"automaticProvisioning": true,
"buildFlag": ["-UseModernBuildSystem=0", "-allowProvisioningUpdates"]
}
}
}
```

## License

Expand Down
10 changes: 0 additions & 10 deletions example/build.json

This file was deleted.

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="51.1.0" ios-CFBundleVersion="1"
<widget id="com.anyline.examples.cordova" version="51.3.1" 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
9 changes: 5 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anyline-cordova-example",
"version": "51.0.2",
"version": "51.3.1",
"description": "Cordova plugin for implementing Anyline",
"main": "index.js",
"scripts": {
Expand All @@ -11,7 +11,8 @@
"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",
"cleanup": "cordova platform remove android && cordova platform remove ios && cordova platform remove windows && cordova plugin remove io-anyline-cordova"
"cleanup": "cordova platform remove android && cordova platform remove ios && cordova platform remove windows && cordova plugin remove io-anyline-cordova",
"build-ios": "cordova build ios --release --device --buildConfig=build.json"
},
"author": "Daniel Albertini | Jonas Laux",
"license": "ISC",
Expand All @@ -26,8 +27,8 @@
"io-anyline-cordova": {}
},
"platforms": [
"android",
"ios"
"ios",
"android"
]
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ ajv@^8.0.0, ajv@^8.6.3:
uri-js "^4.2.2"

android-versions@^1.8.1:
version "1.8.2"
resolved "https://registry.npmjs.org/android-versions/-/android-versions-1.8.2.tgz"
integrity sha512-2MT/Y/mR3BLSbR9E3ugwvE/aA4k84XtjG2Iusu4pRKt4FwfpEvIEAHzm7ZBhL3/aTVNdx3PzZ+sAiK+Dbc4r9A==
version "1.9.0"
resolved "https://registry.npmjs.org/android-versions/-/android-versions-1.9.0.tgz"
integrity sha512-13O2B6PQMEM4ej9n13ePRQeckrCoKbZrvuzlLvK+9s2QmncpHDbYzZxhgapN32sJNoifN6VAHexLnd/6CYrs7Q==
dependencies:
semver "^7.5.2"

Expand Down Expand Up @@ -1750,7 +1750,7 @@ interpret@^1.0.0:
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==

"io-anyline-cordova@file:../plugin":
version "51.1.0"
version "51.3.1"
resolved "file:../plugin"
dependencies:
xml-js "^1.6.11"
Expand Down
31 changes: 31 additions & 0 deletions plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
_____ _ _
| _ |___ _ _| |_|___ ___
| | | | | | | | -_|
|__|__|_|_|_ |_|_|_|_|___|
|___|

# Anyline SDK Cordova Plugin

[Anyline](https://www.anyline.com) is a mobile OCR SDK, which can be configured by yourself to scan all kinds of numbers, characters, text and codes.

## Documentation Resources

- [Getting Started](https://documentation.anyline.com/cordova-plugin-component/latest/getting-started.html)
- [Release Notes](https://documentation.anyline.com/cordova-plugin-component/latest/release-notes.html)

## Get Help (Support)

We don't actively monitor issues raised on Github, instead please open a support request
using the [Anyline Helpdesk](https://support.anyline.com).

When raising a support request based on this Github Issue, please fill out and include the following information:

```
Support request concerning Anyline Github Repository: anyline-ocr-cordova-module
```

Thank you!

## License

See LICENSE file.
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": "51.1.0",
"version": "51.3.1",
"description": "The cordova plugin for the Anyline SDK",
"cordova": {
"id": "io-anyline-cordova",
Expand Down
2 changes: 1 addition & 1 deletion 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="51.1.0">
xmlns:android="http://schemas.android.com/apk/res/android" id="io-anyline-cordova" version="51.3.1">

<name>AnylineSDK</name>

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

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

Expand Down

0 comments on commit d42d5ee

Please sign in to comment.