| sidebar_position | 2 |
|---|---|
| title | Getting Started |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
| Android | iOS |
|---|---|
| ✅ | ✅ |
npm install @react-native-ml-kit/barcode-scanningyarn add @react-native-ml-kit/barcode-scanning:::info Development Build Required This package uses native code and will not work in Expo Go. :::
Rebuild your project to include the native module:
npx expo prebuild
# then
npx expo run:ios
# or
npx expo run:androidInstall the CocoaPods dependency:
cd ios && pod installNo extra steps needed (autolinking).