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

Skip to content

fix: token refresh for searchpage

Hasib Prince requested to merge 1445-token_expiration into release-1.13-rc

Description

Fixed loading search page data after refreshing expired token.

Technical details

Refreshing token mechanism was not working for search page because we ignore refreshing data when search keyword is same and keyword remains same when token is refreshed. Now we ignore the keyword matching condition when token is updated.

Another issue was in GplayStoreRepositoryImpl. It was holding old AuthData after refreshing token. So, Now we are accessing AuthData directly from LoginSourceRepository for each gplay api call.

Issues

backlog/-/issues/1445

10 commandments of code reviews

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

Merge request reports

Loading