1.1 KiB
1.1 KiB
📱 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
-
Copy the Project: Download the entire
MindShift-Windowsfolder to your local machine. -
Install Dependencies: Open a terminal in the
MindShift-Windowsfolder and run:npm install -
Open Android Studio: Run the following command to open the project in Android Studio (you must have Android Studio installed):
npx cap open android -
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
localStorageto 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.