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
Reactions are currently unavailable
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:
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