Skip to content

Conversation

@enahum
Copy link
Contributor

@enahum enahum commented Nov 1, 2024

Summary

On Android, we were decrypting the bearer token for every request we were making, and this was causing problems specially on Android 15. With this PR, we created a map that will hold the token in memory for quicker access without having to decrypt every time.

@enahum enahum added the 2: Dev Review Requires review by a core committer label Nov 1, 2024
@enahum enahum requested review from larkox and rahimrahman November 1, 2024 04:17
Copy link
Contributor

@rahimrahman rahimrahman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're doing hundreds of requests (especially when app comes back to foreground), this could amount to a significant improvement.

@enahum enahum added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Nov 5, 2024
@enahum enahum merged commit b053016 into master Nov 5, 2024
@enahum enahum deleted the android-alias-token-cache branch November 5, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3: Reviews Complete All reviewers have approved the pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants