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

removeWifiNetwork does not work on Android 10 #405

Open
francesco98 opened this issue Oct 13, 2024 · 0 comments
Open

removeWifiNetwork does not work on Android 10 #405

francesco98 opened this issue Oct 13, 2024 · 0 comments

Comments

@francesco98
Copy link

Hello,

I think that there is a problem at this line of the removeWifiNetwork Android implementation.

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {

if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) {

It seems that there are 2 checks:

  • Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
  • Build.VERSION.SDK_INT >= Build.VERSION_CODES.R

but what if the build version is Q? I'm indeed having issues only on Android 10 devices.

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

No branches or pull requests

1 participant