Getting Started

To start developing with the ABBYY Mobile Capture SDK Cordova Plugin, you need to add target platforms and the plugin to your project, and copy the ABBYY Mobile Capture SDK assets and native libraries for Android and iOS, as described below.

1. Create a project:

cordova create path/to/ProjectDir com.example.abbyyrtrsdk MyRTRProject

2. Change to the project directory to add platforms and the plugin:

cd path/to/ProjectDir
cordova platform add ios
cordova platform add android
cordova plugin add cordova-plugin-abbyy-rtr-sdk

3. Add ABBYY Mobile Capture SDK files to the following project subdirectories:

    1. Copy Mobile Capture SDK assets and your license file to www/rtr_assets.
    2. Copy Android libraries (abbyy-rtr-sdk-1.0.aar and abbyy-ui-1.0.aar) to libs/android.
    3. Copy all the iOS frameworks to libs/ios.

4.

The libs/android and libs/ios paths should be added to the linker search paths. This step is performed automatically during the plugin installation.

5. Use AbbyyRtrSdk module methods to add text and data capture functionality to your app.

  • 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>"

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.