This example app uses Knock to power in-app notifications. It uses the Knock Expo SDK and Expo.
- Install dependencies from the root of the monorepo.
yarn-
Make sure the packages have been built by running
yarn build:packages -
Configure the environment variables. Copy
.env.sampleto.env.development.localand add the relevant API keys and channel id from your Knock dashboard. -
Set up your development environment to run native apps depending on your operating system and the platform you'd like to run the example on. See the Expo docs for more information.
-
Run the example app. Optionally, specify which platform you'd like to run on
yarn start
# Or run the app on iOS
yarn ios
# Or run the app on Android
yarn android