The apps in this repository were built in conjunction with the Implementing React Native 2.0 blog post. Check out the blog for a detailed overview of the new architecture and complete implementation guide.
- Navigate to one of the app directories (ie.
starter-app-ecommerce
)
final-app-ecommerce
be sure to add your write-key in App.tsx
const segmentClient = createClient({
writeKey: 'WRITE_KEY',
trackAppLifecycleEvents: true,
collectDeviceId: true,
});
- Install dependencies
yarn
- Install pods
cd ios && pod install
cd ..
- Build and run
iOS
yarn ios
Android
yarn android
See the contributing guide to learn how to contribute to the repository and the development workflow.
Before contributing, please also see our code of conduct.
MIT