Installation Guide
This guide will walk you through setting up Simple Manager Mobile on your local development environment.Prerequisites
Before you begin, ensure you have the following installed on your system:Required Software
Node.js
Install Node.js 18 or higher. We recommend using the LTS version.Check your Node.js version:Download from nodejs.org if needed.
Package Manager
Simple Manager supports npm, yarn, or pnpm. Choose your preferred package manager.npm comes with Node.js. For alternatives:
- Yarn:
npm install -g yarn - pnpm:
npm install -g pnpm
Platform-Specific Requirements
iOS Development (macOS only)
- macOS Monterey or later
- Xcode 14 or later (download from Mac App Store)
- iOS Simulator (included with Xcode)
- CocoaPods:
sudo gem install cocoapods
Android Development
- Android Studio (includes Android SDK and emulator)
- Java Development Kit (JDK) 11 or later
- Configure
ANDROID_HOMEenvironment variable - Create an Android Virtual Device (AVD) in Android Studio
Physical Device
- Install Expo Go app from:
- App Store (iOS)
- Google Play (Android)
Installation Steps
Install Dependencies
Install all required dependencies using your preferred package manager:This will install all dependencies including:
- Expo SDK (~54.0)
- React Native (0.81.5)
- expo-sqlite for database
- expo-router for navigation
- All other required packages
iOS Setup (macOS only)
Install CocoaPods Dependencies
Navigate to the iOS directory and install pods:
If you encounter issues, try
pod install --repo-update to update the CocoaPods repository.Android Setup
Configure Android SDK
Ensure your Add these to your shell profile (
ANDROID_HOME environment variable is set:~/.bashrc, ~/.zshrc, etc.) to make them permanent.Create Android Virtual Device
Open Android Studio, go to Device Manager, and create a new AVD if you don’t have one:
- Open Android Studio
- Click More Actions > Virtual Device Manager
- Click Create Device
- Select a device (e.g., Pixel 5)
- Download and select a system image (API 33 or higher recommended)
- Finish the setup
Troubleshooting
Clear Cache and Reinstall
Expo Cache Issues
-c flag clears the Metro bundler cache.
iOS Pod Installation Issues
Port Already in Use
If port 8081 is already in use:Next Steps
Quick Start Guide
Now that installation is complete, follow the Quick Start guide to run your app and create your first record!