Skip to content

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

@StephenKDS

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    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions