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

token dispenser load optimization

Description

  1. Switch from requesting package details individually to fetching them in batches to reduce load on the token dispenser and minimize network requests.
  2. It also resolves the issue where a restricted app appeared with the install action.

Screenshots

N/A

Technical details

Previously, we were using a for loop to fetch details for each package individually. However, GPlay provides a mechanism to retrieve details for multiple packages in a single request — let’s use that instead.

Tests

Manual: Open the app and check for updates.

Issues

closes #3566 and #3771

10 commandments of code review

👪 ❤️ code review guidelines

Edited by dev-12

Merge request reports

Loading