| Gamified Pomodoro Timer | PWA + Android App |
Focus Champion is a gamified Pomodoro timer that helps you improve focus and build productive habits.
Session 1 & 2: Free - no ads
Session 3+: Interstitial Ad (triggered by user click ✅)
After ad is dismissed, counter resets to 0
Google Policy: Ads are only shown in response to user click ✅
Users who want to support the creator
Via PayPal.me/aliapps1
In the "Support Creator" section of the app
Note: PayPal is NOT used for Premium purchase (Google Play policy) ✅
My-timer/
├── index.html ← Main app (v2.0)
├── manifest.json ← PWA manifest
├── sw.js ← Service Worker v4
├── package.json ← Capacitor + AdMob dependencies
├── capacitor.config.json ← Capacitor & AdMob config
├── icon-*.png ← Icons (72px to 512px)
└── .github/
└── workflows/
└── build-apk.yml ← GitHub Actions APK builder
1. Edit index.html
2. Commit changes
3. Wait 5 minutes
4. Site updates automatically
1. Update files in GitHub
2. Actions → Build Android APK → Run workflow
3. Wait ~10 minutes
4. Download from Artifacts → FocusChampion-APK
const AD_UNIT_ID = 'YOUR_REAL_AD_UNIT_ID';
"appId": "YOUR_ADMOB_APP_ID"
❌ NEVER click your own ads!
✅ Use Test Ad ID during development
✅ Complete payment details in AdMob
✅ Keep isTesting: true during development
✅ Set isTesting: false before publishing to Google Play
| Technology | Version | Purpose |
|---|---|---|
| HTML/CSS/JS | ES6+ | Main App |
| Capacitor | 5.7.0 | PWA → Android |
| AdMob Plugin | 5.0.0 | Advertisements |
| Service Worker | v4 | PWA / Offline Cache |
| GitHub Actions | - | CI/CD APK Builder |
MIT License — Free for personal and commercial use