In this guide, you will learn how to get started with the Genius Scan SDK for React Native.
From your React Native root folder:
npm install @thegrizzlylabs/react-native-genius-scan@6.6.0 --save
Android builds require React Native 0.87 or later, the first React Native release that supports AGP 9. The released SDK demo uses React Native 0.87.1, AGP 9.2.1, Gradle 9.4.1, and JDK 17.
Update android/gradle/wrapper/gradle-wrapper.properties to use the matching Gradle version. For the released demo configuration, use:
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
Add the React Native AGP 9 compatibility flags to android/gradle.properties:
android.builtInKotlin=false
android.newDsl=false
Then open android/build.gradle and make the following changes:
9.1.0 or later.compileSdkVersion to 37 or higher and minSdkVersion to 24 or higher. If your React Native template already uses higher values, keep them.allprojects {
repositories {
// ... existing repositories
maven { url 'https://s3.amazonaws.com/tgl.maven' }
}
}
Info.plist:<key>NSCameraUsageDescription</key>
<string>We use the camera to scan documents</string>
Set the iOS deployment target to at least 15.0. If your React Native template or another dependency already requires a higher value, keep the higher value.
Choose the dependency manager used by your React Native app:
Swift Package Manager is supported in SDK 6.5.0 and later with React Native 0.87.1 or later. If your app still uses CocoaPods, migrate it once from your app root:
npx react-native spm --deintegrate
Set the platform in your ios/Podfile:
platform :ios, '15.0'
Run pod install from the ios folder:
cd ios && pod install
Next, configure a license key. To compare with a working integration, see the sample apps.
© 2026 The Grizzly Labs. All rights reserved.