Welcome to Connect! This is a React Native project designed to [briefly describe what your project does or its purpose].
Before you get started, make sure you have Node.js installed on your machine. Then, follow these steps:
yarn install
yarn run pod-install
To run the project on an Android device or emulator, use the following command: yarn run android
To run the project on an iOS device or simulator, use the following command: yarn run ios
To start the Metro Bundler, which is required for running the app, use the following command: yarn start
To lint the project using ESLint, use the following command: yarn run lint
For start you a need to configure up your env. You need to install:
homebrew
watchman
python
and pip
idb
(docs: https://fbidb.io/docs/installation)flipper
desktop and serverAlso for debugging you could use a experimental devTools: npx react-native start --experimental-debugger
localhost:{port}
:
adb reverse tcp:{port} tcp:{port}
yarn react-native start --reset-cache
Also you need set up env variables (.env
, .env.staging
, .env.prod
), you could get its from head developer, file look like:
WEB_CLIENT_ID=<WEB_CLIENT_ID>
IOS_CLIENT_ID=<IOS_CLIENT_ID>
API_URL=<API_URL>
GOOGLE_MAP_API_KEY=<GOOGLE_MAP_API_KEY>
After build on IOS this config caching in:
./node_modules/react-native-config/ios/ReactNativeConfig/GeneratedDotEnv.m
For updating variable you need in XCode run 'Clean Build Folder' and rebuild
application (CMD
+ Shift
+ K
)
We welcome contributions! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
[Your License Here]