cpa
cordova-plugin-abbyy-rtr-sdk-sample
npm i cordova-plugin-abbyy-rtr-sdk-sample
cpa

cordova-plugin-abbyy-rtr-sdk-sample

ABBYY Mobile Capture SDK Cordova Plugin Example

by ABBYY Mobile SDK Team

1.0.7 (see all)License:LICENSE.mdTypeScript:Not Found
npm i cordova-plugin-abbyy-rtr-sdk-sample
Readme

ABBYY Mobile Capture Cordova Plugin

ABBYY Mobile Capture Cordova Plugin allows to use the Text Capture, Data Capture and Image Capture features of ABBYY Mobile Capture in apps based on the Apache Cordova framework.

This plugin requires the ABBYY Mobile Capture native libraries which are available for Android and iOS. You can request ABBYY Mobile Capture trial version on the ABBYY website.

The native libraries support the following systems:

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

Getting started

  1. Add the plugin to your project.
    cd MyProject
    cordova plugin add cordova-plugin-abbyy-rtr-sdk
    
  2. Request ABBYY Mobile Capture trial version on the ABBYY website and add it to your project:
    • Create the www/rtr_assets subdirectory in the project.
    • Copy Mobile Capture SDK assets and license file (MobileCapture.License) to www/rtr_assets.
    • Copy Android libraries (abbyy-rtr-sdk-1.0.aar and abbyy-ui-1.0.aar) to libs/android.
    • Copy iOS frameworks (AbbyyRtrSDK.framework and other modules) to libs/ios.
    • The libs/android and libs/ios paths should be added to the linker search paths. This step is performed automatically during the plugin installation.
  3. To build and run your project:
    • Android:
      cordova build android
      cordova run android
      
    • iOS (don't forget to 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>"
      

ABBYY Mobile Capture Cordova Plugin Example

How to run this app

  1. Install Cordova.
  2. Get the example project and navigate to the project directory.
    cd <path>/sample-cordova
    
  3. Add platforms and plugins from the project config.xml.
    cordova prepare
    
  4. Check installed platforms and plugins.
    cordova platform ls
    cordova plugin ls
    
    You should see android and ios in platforms and cordova-plugin-abbyy-rtr-sdk in plugins.
  5. Request ABBYY Mobile Capture trial version on the ABBYY website and add it to the example:
    • Copy RTR SDK assets (patterns and dictionaries) and your license file (MobileCapture.License) to www/rtr_assets.
    • Copy the Android library (abbyy-rtr-sdk-1.0.aar) to libs/android.
    • Copy iOS frameworks (AbbyyRtrSDK.framework and other modules) to libs/ios. These paths already exist in the example project.
    • The libs/android and libs/ios paths should be added to the linker search paths. This step is performed automatically during the plugin installation.
  6. Connect a device via USB, build and run.
    • Android:
      cordova build android
      cordova run android
      
    • iOS (don't forget to 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 packages for iOS and Android.

Downloads/wk

10

GitHub Stars

0
No data available

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
No data available
VersionTagPublished
1.0.7
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial