Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

feat(updates): Allow App Lounge to update itself (#7982)

Description

Allow App Lounge to update itself.

Screenshots

screen-20240822-153634

Technical details

Previously:
If App Lounge update was detected, we planned on skipping the INSTALLING status of a downloaded app, and directly move to INSTALLED.

New approach:
If App Lounge update is detected, we just delete the DB table row entry. Saving the entry as INSTALLED status does not achieve anything, it adds a bug in the UPDATE button. All other updates status is eventually deleted from the DB anyway.

Tests

Issues

https://gitlab.e.foundation/e/backlog/-/issues/7982

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Summary by CodeRabbit

  • New Features

    • Enhanced CI/CD pipeline for improved APK management and structured release processes.
    • Added support for handling app updates when the package is replaced.
    • Improved user interaction with a confirmation dialog for updating the user's own application.
    • New string resources for user notifications regarding update processes.
  • Bug Fixes

    • Enhanced handling of self-updates to prevent unintended behavior.
Edited by CodeRabbitAI

Merge request reports

Loading