Installable web app (PWA), with an iPhone hint #51
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#51
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On phones, "installing" a web app is how people keep things that aren't in an app store.
What:
display: standalone.Notes (iOS): home-screen web apps have their own storage (safe from Safari's 7-day eviction) and are the only way to get web push later. Apple can change this with an update, so test on a real iPhone before the release.
Done when:
From docs/ROADMAP.md, 0.2 "Feels like an app".
Decided (D-031): the installable web app is the way to phones. User: "I like the installable web-app so let's go with that route. I have an android phone but I can always get a friend to mess with the iOS version if needed." Real-device check: the user on Android; iOS through a friend of the user, before the release.
The real-device checks depend on #71 (a test server with HTTPS, which the user is arranging). Until then: localhost, and Android over USB with Chrome's port forwarding.
Built and merged in #88: manifest, icons, service worker (app shell, opens offline), install button where the browser offers one, one-time iPhone 'Lägg till på hemskärmen' hint. pwa.spec.ts covers it in Chromium and WebKit. Left: trying it on a real Android phone (the user) and a real iPhone (a friend), which needs HTTPS: #71.
Ready for the real-phone check, against the HTTPS mode (#98): trust http://192.168.0.11:8080/neokom-ca.crt once, then install from https://192.168.0.11:8443/ (docs/DOCKER.md, 'HTTPS: NeoKOM as an app on your phone').
Real Android check done: the user trusted the container's CA, installed NeoKOM from https://192.168.0.11:8443/ and it works. One snag: Chrome showed ERR_CERT_AUTHORITY_INVALID until it was force-stopped after the certificate was installed; that goes into docs/DOCKER.md. Left: the real-iPhone check (a friend of the user), same HTTPS route.
Closing (D-039, user: "move the iPhone check out and cut 0.2.0"). Built in #88, works on the user's Android phone over the Docker HTTPS mode (#98). The real-iPhone check moves to #113, outside 0.2.