npx create-expo --example with-moti
- Install packages with
yarn
ornpm install
.- If you have native iOS code run
npx pod-install
- If you have native iOS code run
- Run
yarn start
ornpm run start
to start the bundler. - Open the project in a React runtime to try it:
- iOS: Client iOS
- Android: Client Android
💡 This demo uses experimental Reanimated 2 support in Expo. Learn more.
Moti is built with TypeScript and has first-class support. Here's how to add TS support to your project:
- Rename
App.js
➜App.tsx
- Run
yarn start
ornpm run start
-- TypeScript will be automatically configured.
💡 Learn more about TypeScript in Expo
You can generate native iOS and Android projects from your Expo config file (app.json/ app.config.js) by runnning npx expo prebuild
. These native projects can then be compiled and run via XCode and Android Studio.
💡 Learn more about native code in Expo
- Deploy the native app to the App store and Play store using this guide: Deployment.
- Expo Reanimated docs
- Moti docs
- Reanimated docs
- Keep up with the creator of Moti Fernando Rojo for updates.