We want this community to be friendly and respectful to each other. Please follow it in all your interactions with the project.
- 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
Working on your first pull request? You can learn how from this free series: How to Contribute to an Open Source Project on GitHub.
When you're sending a pull request:
- Prefer small pull requests focused on one change.
- Verify that linters and tests are passing.
- Review the documentation to make sure it looks good.
- Follow the pull request template when opening a pull request.