Self-Update App: Update-Dialog, Installation & App-Start-Integration #85
Labels
No labels
block-planning
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
infrastructure
invalid
planning
priority:high
priority:low
question
refactoring
status:backlog
status:done
status:in-progress
status:todo
tech-decision
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bollwerkadmin/bollwerk#85
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?
Feature: App – Update-Dialog, Installation & App-Start-Integration
Part of: #69
Depends on: Server-Ticket (Version-Endpoint) und App-Data-Layer-Ticket (UpdateRepository, CheckForUpdateUseCase)
Ziel
Die App zeigt beim Start einen nicht-blockierenden Banner wenn ein Update verfügbar ist. Der Nutzer kann die APK herunterladen und den Android-Installer starten.
Scope
REQUEST_INSTALL_PACKAGES-Permission im AndroidManifestcache/update/infile_paths.xmlergänzenUpdateViewModel: State-Management für Update-Check, Download-Progress, InstallationUpdateBanner(Composable): Nicht-blockierender Banner mit "Jetzt aktualisieren"-ButtonIntent(Intent.ACTION_VIEW)mit FileProvider-URI undapplication/vnd.android.package-archiveMIME-TypeMainScreen: Update-Check beim App-Start, Banner über dem ContentTechnische Hinweise
MainActivitynutztlifecycleScopefür Seed, ähnlich für Update-Check möglichde.krisenvorrat.app.fileprovider(bereits konfiguriert)file_paths.xmlexistiert bereits mitexports/undcamera/–update/ergänzenREQUEST_INSTALL_PACKAGESund einmalige User-BestätigungIntent.FLAG_GRANT_READ_URI_PERMISSIONsetzen für FileProvider-URIACTION_VIEWstattACTION_INSTALL_PACKAGE(deprecated seit API 29)Akzeptanzkriterien