Skip to content

using this extension - on android, the isConnected() returns true always #24

Description

@StephenKDS

During testing, this is always returning true, even with WIFI/DATA disabled. :-/

Any idea what is happening?

    #if(android || ios)
    if (NetworkInfos.isConnected()) {
        DebugLogging.addDebugLogEntry("Main.new", "is connected to the network");
    }
    else {
        DebugLogging.addDebugLogEntry("Main.new", "is NOT connected to the network");
    }
    #end
    #if flash
        DebugLogging.addDebugLogEntry("Main.new", "FLASH detected, not checking for network connectivity");
    #end    

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