Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 941 Bytes

File metadata and controls

29 lines (18 loc) · 941 Bytes

Knock + Expo example app

This example app uses Knock to power in-app notifications. It uses the Knock Expo SDK and Expo.

Running locally

  1. Install dependencies from the root of the monorepo.
yarn
  1. Make sure the packages have been built by running yarn build:packages

  2. Configure the environment variables. Copy .env.sample to .env.development.local and add the relevant API keys and channel id from your Knock dashboard.

  3. 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.

  4. 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