Skip to main content

Running the Example App on Android

An example app is provided that demonstrates the correct use of the modules in a react-native app.

1. Clone the project

git clone git@github.com:infinitered/react-native-mlkit.git

2. Install dependencies

cd react-native-mlkit
yarn install

3. Build native modules

yarn build

5. Build and run the app

From ~app/ExampleApp use the included script to run the app in the android emulator.

yarn android

Add -d to run on a hardware device.

yarn android [-d]