react-native-aaiios-iqa-sdk(v1.2.8)

Download SDK

See this part to get SDK download link.

Running the example app

  1. Download SDK and extract it, then go into the example directory: cd example
  2. Install packages: yarn install
  3. Go into the ios subdirectory and install pod dependencies: cd ios && pod install
  4. Go into the example directory and start Metro: cd .. && yarn start
  5. Modify example/App.js to specify region, cardType, cardSide and license content(The license content is obtained by your server calling our openapi).
  6. run example app: react-native run-ios or open example.xcworkspace in Xcode and run.

Getting started

  1. First rename the folder name react-native-aaiios-iqa-sdk-V1.2.8 to react-native-aaiios-iqa-sdk, then we can try to integrate the SDK. There are two ways to integrate the SDK:

    • As local package:

      1. Put the react-native-aaiios-iqa-sdk folder to your react-native project, Here we assume you put this folder in the root directory of your react-native project.
      2. cd your react-native project root path and link this local sdk package. yarn add ./react-native-aaiios-iqa-sdk
    • As remote package:

      1. Upload all files in react-native-aaiios-iqa-sdk folder to your private git repository, make sure the name of your repository is react-native-aaiios-iqa-sdk.
      2. Navigate to the root directory of your react-native project and install SDK. $ npm install git+ssh://git@{your-git-domain}:{your-git-user-name}/react-native-aaiios-iqa-sdk.git --save
  2. Add pod dependencies AAINetwork and AAIGlobalIQA to your Podfile:

  3. After integrate the SDK then we link SDK to iOS project.

    cd ios && pod install

  4. Then add camera usage description in Info.plist as bellow. Ignore this step if you have added those.

Usage

FAQ

Change logs and release history

v1.2.8 Download

  1. Sync native SDK.

v1.2.7 Download

  1. Sync native SDK.

v1.2.2 Download

  1. Sync native SDK.

v1.2.0 Download

  1. Sync native SDK.

  2. Added SCAN_TIMEOUT error code. Note this code appears only when you set the operatingMode of paramsConfig to "Scanning".

  3. Support setting the operating mode of the SDK.

v1.1.8 Download

  1. Sync native SDK.

v1.1.7 Download

  1. Sync native SDK.

v1.1.5 Download

  1. Sync native SDK.