Release v1.0.2: Fix startup syntax error, offline mode, UI improvements

This commit is contained in:
Gemini AI
2025-12-06 23:41:51 +04:00
Unverified
parent 864070b26a
commit 5e9ffe1997
66 changed files with 2596 additions and 216 deletions

View File

@@ -0,0 +1,30 @@
# 📱 How to Build the Offline APK
I have converted the application to **Offline Mode**. It now stores all data locally on the device, so you **DO NOT** need to deploy a backend server.
## 🚀 Steps to Build APK
1. **Copy the Project:**
Download the entire `MindShift-Windows` folder to your local machine.
2. **Install Dependencies:**
Open a terminal in the `MindShift-Windows` folder and run:
```bash
npm install
```
3. **Open Android Studio:**
Run the following command to open the project in Android Studio (you must have Android Studio installed):
```bash
npx cap open android
```
4. **Build & Run:**
- In Android Studio, wait for Gradle to sync.
- Click the **Run** (Play) button to test on an emulator/device.
- To build the APK: Go to `Build > Build Bundle(s) / APK(s) > Build APK(s)`.
## Notes
- The app now uses `localStorage` to save your Moods, Thoughts, and Gratitude entries.
- If you uninstall the app, your data will be cleared (standard behavior for local-only apps).
- No internet connection is required for the app to function.