Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Android: trust user-installed CAs next to the system ones — a self-hosted server behind a private CA could not be reached from the app (#213)
Duarte Santosb95561e95771
diff --git a/frontend/android/app/src/main/AndroidManifest.xml b/frontend/android/app/src/main/AndroidManifest.xmlindex ea9aa08ba..cd316aa9b 100644--- a/frontend/android/app/src/main/AndroidManifest.xml+++ b/frontend/android/app/src/main/AndroidManifest.xml@@ -6,6 +6,7 @@android:label="@string/app_name"android:roundIcon="@mipmap/ic_launcher_round"android:supportsRtl="true"+ android:networkSecurityConfig="@xml/network_security_config"android:theme="@style/AppTheme"><activityandroid:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation"diff --git a/frontend/android/app/src/main/res/xml/network_security_config.xml b/frontend/android/app/src/main/res/xml/network_security_config.xmlnew file mode 100644index 000000000..fb6083789--- /dev/null+++ b/frontend/android/app/src/main/res/xml/network_security_config.xml@@ -0,0 +1,15 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Issue #213: a self-hosted server behind a private CA (Caddy "tls internal", a home PKI).+ Since API 24 an app trusts system CAs only, so the WebView refused the handshake while+ Chrome on the same phone, which honours user-installed CAs, opened the server fine.+ Trust both. A user CA is something the owner of the phone installed on purpose, behind a+ system warning; this is the same trust the browser already gives it. Cleartext is left at+ the platform default (off). -->+<network-security-config>+ <base-config>+ <trust-anchors>+ <certificates src="system" />+ <certificates src="user" />+ </trust-anchors>+ </base-config>+</network-security-config>