FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Bug] getConnectionType returns none when the connectionType is "ethernet" · Issue #5669 · NativeScript/NativeScript · GitHub

[Bug] getConnectionType returns none when the connectionType is "ethernet" #5669

Description

Please, provide the details below:

Did you verify this is a real problem by searching the [NativeScript Forum]

Yes

Tell us about the problem

getConnectionType returns none when the connectionType is "ethernet"

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.4.1
  • Cross-platform modules: 3.4.0
  • Runtime(s): tns-android: 3.4.2

Please tell us how to recreate the issue in as much detail as possible.

This issue exists in a Genymotion android emulator, where the connection type is "ethernet" vs. the standard wifi/mobile

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

const connectionType = connectivity.getConnectionType();
//Returns connectivity.connectionType.none when there is in fact a connection

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL