Clock Work is a React Native Expo application designed to boost productivity and well-being. It combines four essential features:
- To-Do List: Organize your tasks and stay on top of your schedule.
- Focus Timer: Use the Pomodoro technique to stay focused and productive.
- Notes App: Jot down ideas, reminders, and important information.
- Relaxation Game: Take a break and unwind with a simple game, offering a healthy alternative to doomscrolling.
- Seamless integration of productivity tools in one app.
- User-friendly interface for easy navigation.
- Cross-platform support with Expo.
- Node.js installed on your system.
- Expo CLI installed globally (
npm install -g expo-cli). - A mobile device or emulator for testing.
-
Clone the Repository
git clone https://github.com/superb-striker/clock-work.git
-
Install Dependencies
npm install
-
Start the Development Server
npx expo start
-
Run on a Device or Emulator
- Scan the QR code in the Expo Go app (available on iOS and Android).
- Alternatively, use an emulator/simulator to run the app.
To generate a shareable .apk file from the source, follow these steps:
-
Trigger the Cloud Build
Initialize the EAS Build process:eas build --platform android
Follow the prompts to create the project and generate a new Android Keystore.
-
Download Signing Credentials
Sync your preview credentials to your local machine:eas credentials --platform android
Select preview profile. Select Download credentials to sync credentials.json and your .jks keystore.
-
Generate APK via BundleTool
Once you have downloaded the .aab file from the Expo Dashboard, use Google's BundleTool to convert it:java -jar bundletool-all-x.xx.x.jar build-apks --bundle=YOUR-APP-NAME.aab --output=YOUR-APP-NAME.apks --ks=PATH TO KEYSTORE.JKS FILE FROM PROJECT ROOT DIRECTORY --ks-key-alias=YOUR KEYSTORE ALIAS --ks-pass=pass:YOUR KEYSTORE PASSWORD --key-pass=pass:YOUR KEY PASSWORD --mode=universal
Replace bundletool-all-x.xx.x.jar with your actual downloaded bundletool name up to its version e.g: bundletool-all-1.21.2.jar , and YourAppName.aab with your own AAB file name, the ks-key-alias with your own key alias, which can be found in the credentials.json file.
-
Final Extraction
- Change the extension: Rename YOUR-APP-NAME.apks ➔ YOUR-APP-NAME.zip.
- Unzip the file.
- Your installable file is located in the unzipped folder as .apk file.
-
Downloading on mobile
- Transfer .apk file to an android device.
- Install the app.
Enjoy using Clock Work to enhance your productivity and well-being!