Description
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.