Getting Started

To start developing with the ABBYY Mobile Capture SDK React Native Module, you need to add the module and ABBYY Mobile Capture to your project. Find the steps below.

 Note: If you are new to React Native, set up development environment first. You will need yarn, npx and cocoapods (for iOS) utilities. See React Native documentation for details.

1. Choose one of the following ways to add the module to your project:

  • From npm:

yarn add react-native-abbyy-mobile-capture

  • From sources:

yarn add file:"Path to react-native-abbyy-mobile-capture sources"

2. Request ABBYY Mobile Capture trial version on the ABBYY website and add it to your project:

  • Copy iOS assets directory to the project into ./assets folder
  • Copy your license into ./assets with MobileCapture.License name
  • Copy Android libs directory to the project into ./android/libs folder
  • Copy iOS libs directory to the project into ./ios/libs folder

3. Proceed setup depending on the platform:

  • Android setup

  • iOS setup

How to run samples

1. Request ABBYY Mobile Capture trial version on the ABBYY website and add it to the sample:

  • Copy iOS assets directory to the project into ./assets folder
  • Copy your license file into ./assets with MobileCapture.License name
  • Copy Android libs directory to the project into ./android/libs folder
  • Copy iOS libs directory to the project into ./ios/libs folder

2. Run yarn install from the sample root

3. Run pod install from the sample/ios directory

4. To run application do the following:

Android iOS
  • From console:
    • Execute npx react-native run-android from the sample root
  • From Android Studio:
    • Open sample/android project
    • Click Run app button
  • From console:
    • Execute npx react-native run-ios from the sample root
      It runs sample in the simulator
  • From XCode
    • Open sample/ios project
    • Click Run button

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.