mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
7cc7ece8df41728dc3e3ff49b4d3bd8a9a3f99b8
iNaturalistReactNative
Install packages and pods
- Run
npm install - Run
npx pod-install iosorcd ios && pod installfrom the root directory - Make sure to place the
.envfile in the root folder, which is not part of the code repo (contains secrets, such as OAuth client ID).
Run build
- Run
npm start -- --reset-cache(npm startworks too, but resetting the cache each time makes for a lot less build issues) - Run
npm run iosornpm run android
Run tests
- Run
npm run test
Troubleshooting
- Run
react-native clean-project. This will give you options to clean caches, clean builds, reinstall pods, and reinstall node_modules. Using this eliminates a lot of hard-to-diagnose build issues.
Description
Languages
Fluent
63.1%
JavaScript
19.6%
TypeScript
16.8%
Ruby
0.4%