diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-06 09:30:36 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-06 09:30:36 +0000 |
| commit | ab76bcae1324aadb6d163e565f5994d0db10ca61 (patch) | |
| tree | b086ec7650a8185f1437598741114f49b3be5568 /android/app/src/main/AndroidManifest.xml | |
| parent | f479211f0885776c379c598dac738ac08ea72548 (diff) | |
Widget: wrap the web dashboard in a WebView (DashboardActivity)
First cut per the 2026-08-06 feasibility check (verdict: easy, no
architecture blockers): a plain WebView pointed at the configured
server URL, cookie jar enabled for the existing session-cookie login
(internal/auth/middleware.go's RequireAuth) -- no separate auth bridge
needed, the widget's own bearer token is a completely different scheme
and doesn't need to touch this at all. External links (e.g. a calendar
event's source URL) escape to the user's real browser instead of
getting stuck in the WebView.
No deep-linking to specific tabs, no native-rendered chrome -- this is
the minimal first step to validate the wrapped experience is worth
building further, not the final shape.
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index ca96e71..c2200ba 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -33,6 +33,12 @@ android:exported="false" android:windowSoftInputMode="adjustResize" /> + <!-- Full dashboard, wrapped in a WebView (see DashboardActivity's doc comment) --> + <activity + android:name=".ui.DashboardActivity" + android:exported="false" + android:label="Doot" /> + <!-- Settings activity (also the widget config screen) --> <activity android:name=".ui.SettingsActivity" |
