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

[Essentials] Secure storage on Android GetAsync returns null even after Set #20292

Closed
AnthonyNjuguna opened this issue Feb 1, 2024 · 2 comments
Labels
area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending t/bug Something isn't working

Comments

@AnthonyNjuguna
Copy link

Description

On Android since .net 8 when you insert values into the SecureStorage and the user calls RemovesAll() and doesn't kill the app, the next time you SetAsync() the value will not be returned on GetAsync()

Steps to Reproduce

  1. Create maui app
  2. Insert value into SecureStorage
  3. Call RemoveAll
  4. Insert new value
  5. Try and retrieve previous value

Link to public reproduction project repository

No response

Version with bug

8.0.6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@AnthonyNjuguna AnthonyNjuguna added the t/bug Something isn't working label Feb 1, 2024
@samhouts samhouts added platform/android 🤖 area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info potential-regression This issue described a possible regression on a currently supported version., verification pending labels Feb 1, 2024
@phillippschmedt
Copy link

It sounds like this is the same issue I reported here: #19983

@rmarinho
Copy link
Member

rmarinho commented Feb 2, 2024

Duplicate of #19983

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants