Skip to content

monica-gonzalez-padilla/analytics-react-native-ecommerce-samples

 
 

Repository files navigation

Analytics React Native E-Commerce Samples

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.

Usage

  1. Navigate to one of the app directories (ie. starter-app-ecommerce)

⚠️ If you are using final-app-ecommerce be sure to add your write-key in App.tsx

const segmentClient = createClient({
  writeKey: 'WRITE_KEY',
  trackAppLifecycleEvents: true,
  collectDeviceId: true,
});
  1. Install dependencies
yarn
  1. Install pods
cd ios && pod install
cd .. 
  1. Build and run

iOS

yarn ios

Android

yarn android

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Code of Conduct

Before contributing, please also see our code of conduct.

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 59.1%
  • Java 19.2%
  • C++ 8.7%
  • Objective-C++ 4.6%
  • Objective-C 3.0%
  • Makefile 1.9%
  • Other 3.5%