Standalone mobile app: Capacitor shells for iOS and Android

A second flavor of openGym (VITE_MOBILE=1) that runs entirely on the
phone: no account, no server, no sync. State is mirrored into a file in
the app's private storage (survives WebView storage eviction), the
workout-day reminder is a native local notification scheduled on planned
weekdays, and backups export through the OS share sheet. Exercise media
loads from the same CDN as the demo build. npm run build:mobile, then
Android Studio / Xcode — see docs/MOBILE.md. NOTICE.md gains an AGPL §7
app-store exception.
This commit is contained in:
Duarte Santos committed 2026-07-23 15:14:36 +02:00
1 parent 389315625c
commit ee2be743b0
92 files changed
+3117 -29

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="-5.4 -5.4 34.8 34.8">
<!-- App-icon source: the app's dumbbell glyph (components/Icon.jsx) in the lime accent
on the app background. Generate all platform icons + splash screens from this via
`npx @capacitor/assets generate` — see docs/MOBILE.md. -->
<rect x="-5.4" y="-5.4" width="34.8" height="34.8" fill="#0c0e12"/>
<g fill="none" stroke="#30d158" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round">
<rect x="5.9" y="7.9" width="3.2" height="8.2" rx="1.3"/>
<rect x="14.9" y="7.9" width="3.2" height="8.2" rx="1.3"/>
<path d="M9.1 12h5.8M3.6 9.9v4.2M20.4 9.9v4.2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 708 B