Project Name: AiSpec
Bundle Id / Package Name: com.simform.aispec
A AiSpec boilerplate to kickstart your project with some commonly used setups, components, navigation and screens.
iOS : XCode(16) onwards
Android : Android Studio(Meerkat | 2024.3.1) with gradle(6.2) onwards
Editor : Visual Studio Code
- Open the project directory in to terminal
- Run and build for either OS
-
Run iOS app
yarn run ios
- Run iOS app in preview envrionment
yarn run ios:preview
- Run iOS app in production envrionment
yarn run ios:prod
-
Run Android app
yarn run android
- Run Android app in preview environment
yarn run android:preview
- Run Android app in production environment
yarn run android:prod
-
Note: After each change to the
app.config.jsfile, you need to run the prebuild command for the corresponding environment.yarn prebuild:dev
yarn prebuild:preview
yarn prebuild:prod
-
Note: Before generating a build in
Android Studio or Xcode, you need to load the appropriate environment using the following commands. After that, you can proceed with building from Android Studio or Xcode.yarn copy-env:dev
yarn copy-env:preview
yarn copy-env:prod
-
To generate a preview release build for your React Native project, follow these steps based on your platform:
- For Android
- i.e. Preview release build
yarn build:android:preview
- Note: Generates only an APK file, located at
~/PROJECT_DIR/android/app/build/.
- For iOS
- i.e. Preview release build
yarn build:ios:preview YOUR-TEAM-ID
- To export the IPA, pass
trueas an argument in the build command.
yarn build:ios:preview YOUR-TEAM-ID true- Note: The IPA and archive will be located at
~/PROJECT_DIR/ios/ios/build.
- For Android
-
Note: This yarn scripts will lint your code first. If there are no lint errors, then it will run the ios or android app. Otherwise it will show the lint errors in the terminal.
In the output, you'll find options to open the app in a
List all dependencies from the package.json file along with their usage. This list must be updated every time you change/add any dependecy. Here are some examples:
-
Framework:
-
State management libraries:
-
Middleware libraries:
-
Navigation:
-
For Api
-
Storage:
-
Crash report:
-
For Validations:
-
For Utilities
Mention all the accounts used for various development and deployement platforms. Just email/username should be mentioned but never a password. Make sure this information stays in a private repository. If your repository is public, do not share this kind of private information via readme. Provide another private source. Like a private file on our zoho or a file in Microsoft Teams.