Gamify Your Goals & Habits
Daily: Habit & Quest Tracker
Welcome to setting up the app! Follow these steps to get it running locally. The app operates fully offline, handling user data and in-app purchase logic locally. (Note: Be aware of potential challenges with local in-app purchase handling.)
Before you begin, ensure you have the following:
- Node.js: Download and install from nodejs.org.
- Compatible Device: A simulator or physical device running at least iOS 15 or equivalent Android version.
- Accounts for In-App Purchases (optional):
- RevenueCat account.
- Apple Developer account.
To enable specific features, configure the following:
-
In-App Purchases:
- Sign up for a RevenueCat account and an Apple Developer account.
- Replace the API keys in the following file:
@/utils/purchases.ts
-
AI Scan Feature:
- Obtain an API key from OpenAI or Google Gemini.
- Update the relevant configuration file with your API key (check the project documentation for the exact file).
Follow these steps to run the app on your local machine:
-
Navigate to the Project Directory: Open your terminal and go to the root directory of the project:
cd /path/to/your/project -
Install Dependencies: Install all required dependencies using npm:
npm install
-
Run the App: Use one of the following commands to run the app on your chosen platform:
- For iOS:
npx expo run:ios -d
- For Android:
npx expo run:android -d
Note: The
-dflag allows you to select a specific device or simulator. - For iOS:
-
Development Note: The app was developed with an iOS-first approach, so some features may perform better on iOS devices or simulators.