Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NO-TASK]: Not store tokens on the device storage #141

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

Danswar
Copy link
Collaborator

@Danswar Danswar commented Nov 5, 2024

Tokens now live on the application state rather than in device's storage, so they will be renew when the app fresh start.

Edge cases.

  • If the app is closed, tokens will be gone and new ones will be used when the app starts again.
  • If the app is put into background, tokens will be reused from app state when it goes front-ground.
  • If the app gets terminated by the system (like in background for too long), tokens will be gone and new ones will be used when the app starts again.

@Danswar Danswar requested a review from davidleomay November 5, 2024 19:46
@Danswar Danswar merged commit 794384c into DFXswiss:develop Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants