ABBYY Real-Time Recognition SDK Cordova Plugin
Branch: master
Clone or download
Alexander Lobastov
Alexander Lobastov Sample. Updated version: 1.0.1.
Latest commit f42591e Jan 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cordova-plugin-abbyy-rtr-sdk-sample Sample. Updated version: 1.0.1. Jan 31, 2019
cordova-plugin-abbyy-rtr-sdk Updated version: 1.0.9. Jan 31, 2019
README.md Updated README.md. Jan 31, 2019

README.md

ABBYY Real-Time Recognition SDK Cordova Plugin

ABBYY Real-Time Recognition SDK Cordova Plugin allows to use the Text Capture and Data Capture features of ABBYY Real-Time Recognition SDK (RTR SDK) in apps based on the Apache Cordova framework.

This plugin requires the ABBYY RTR SDK native library which is available for Android and iOS. You can download its free version from the ABBYY RTR SDK website. Extended versions of the native libraries are also available, with more recognition languages, more Data Capture features, and full Text Capture scenario support. If you are interested in the extended version, please contact the ABBYY Sales Team.

The native libraries support the following systems:

  • Android: version 4.4 or later for ARMv7 (armeabi-v7a) and ARMv8 (arm64-v8a) processors
  • iOS: versions 8.x and later

Getting started

  1. Add the plugin to your project.
    cd MyProject
    cordova plugin add cordova-plugin-abbyy-rtr-sdk
  2. Download ABBYY RTR SDK from https://rtrsdk.com/ (or get the extended version from the ABBYY Sales Team) and add it to your project:
    • Create the www/rtr_assets subdirectory in the project.
    • Copy RTR SDK assets (patterns and dictionaries) and license file (AbbyyRtrSdk.license) to www/rtr_assets.
    • Copy the Android library (abbyy-rtr-sdk-1.0.aar) to libs/android.
    • Copy the iOS framework (AbbyyRtrSDK.framework) to libs/ios.
  3. Add libs/android and libs/ios to the linker search paths.
    • For Android, add the following settings to platforms/android/build.gradle:
      allprojects {
        repositories {
          flatDir {
            dirs '../../../libs/android' // cordova-android >= 7
            dirs '../../libs/android' // cordova-android <= 6
          }
        }
      }
    • For iOS, add the following to platforms/ios/cordova/build.xcconfig:
      FRAMEWORK_SEARCH_PATHS = "../../libs/ios"
      
  4. To build and run your project:
    • For Android:
      cordova build android
      cordova run android
    • For iOS, specify your Development Team:
      cordova build ios --buildFlag="-UseModernBuildSystem=0" --buildFlag="DEVELOPMENT_TEAM=<YOUR_TEAM>"
      cordova run ios --buildFlag="-UseModernBuildSystem=0" --buildFlag="DEVELOPMENT_TEAM=<YOUR_TEAM>"

Documentation

Developer documentation for this plugin is available from the npm package (see RtrSdkCordovaDevelopersGuide.pdf).

Developer documentation for the free version of ABBYY RTR SDK is available at https://rtrsdk.com/documentation/.

Developer documentation for the extended version is available from the extended version packages for iOS and Android.