This guide walks you through everything you need to get AMS running locally — from cloning the repository to seeing the app live on an Android emulator or iOS simulator. The whole process typically takes less than five minutes on a machine that already has the React Native environment set up.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Jay-byte389/AMS/llms.txt
Use this file to discover all available pages before exploring further.
Install CocoaPods (iOS Only)
On the first clone — or any time you add or update native dependencies — you must install CocoaPods for iOS. Skip this step entirely if you are targeting Android only.Install the Ruby bundler gems (run once per machine):Then install the CocoaPods dependencies (run on first clone and after any native dependency change):For more information, see the CocoaPods Getting Started guide.
Start the Metro Bundler
Start the Metro JavaScript bundler in a dedicated terminal window. Keep this terminal open while you develop:Metro watches your source files and serves the JavaScript bundle to the running app.
Run the App
With Metro running, open a second terminal and launch the app on your target platform:This compiles the Android app and installs it on a connected device or running emulator. Make sure Android Studio and an AVD (Android Virtual Device) are set up, or a physical device is connected via USB with USB debugging enabled.If everything is set up correctly, you will see the AMS splash screen followed by the Register screen.
- Android
- iOS
Fast Refresh is enabled by default. Any time you save a source file, the app automatically updates and reflects your changes without a full rebuild. This is powered by React Native’s Fast Refresh system.
Running Tests
AMS uses Jest for unit testing. Run the full test suite with:@react-native/babel-preset and picks up any *.test.ts / *.test.tsx / *.spec.js files in the project.
Running the Linter
AMS uses ESLint with the@react-native/eslint-config ruleset. Check the entire codebase for lint errors with:
--fix flag: