feat: full-featured Android app — not just public view
CI / test-and-package (push) Successful in 40s
CI / build-android (push) Successful in 3m10s

Rewrote the Android WebView app to load the entire meal-tracker
web application, not just the public sharing page:

- User configures their server base URL (e.g. https://meals.example.com)
- Full login/register, dashboard, meal responses, history, settings
- Cookie/session support — login persists across app restarts
- Dynamic toolbar title from page
- 'Clear Data' button in settings to wipe cookies/cache/sessions
- Server URL auto-normalized (trailing slash stripped, https:// added)
- Back button navigates within WebView history
- Swipe-to-refresh, loading bar, network error handling
This commit is contained in:
agentbox
2026-08-01 11:35:05 +00:00
parent d37efa1dcc
commit f93e75e6f0
4 changed files with 105 additions and 28 deletions
@@ -12,18 +12,19 @@
android:text="@string/url_label"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:paddingBottom="4dp" />
android:paddingBottom="6dp" />
<EditText
android:id="@+id/url_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textUri"
android:hint="https://meals.example.com/public/..."
android:hint="https://meals.example.com"
android:padding="12dp"
android:background="@android:drawable/edit_text"
android:textSize="14sp"
android:importantForAutofill="no" />
android:importantForAutofill="no"
android:autofillHints="no" />
<TextView
android:id="@+id/url_hint"