Skip to content

removeWifiNetwork does not work on Android 10 #405

Description

@francesco98

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions