Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve Connectivity Module #485

Open
@chadcampbell

Description

@chadcampbell

The connectivity module is a wonderful addition to NativeScript. Its a great start. However, it currently only allows you to determine the type of connectivity. It would be helpful if the connectivity module gave developers more information about the connectivity state. For instance, I think it would be helpful if the connectivity module included:

isAvailable - This true/false property would signal if a network connection is reachable. This property does not inform the developer if they are actually connected to the internet or not. Rather, if they can hit a network point (like a router).

isWebAvailable - This true/false property would signal whether the app can actually reach the internet or not.

changed - This event would fire when the IP Address that is being used changes. This would be useful for scenarios where app users are moving while using an app.

These are just suggestions for consideration.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions