Content-Length: 289956 | pFad | https://github.com/NativeScript/NativeScript/issues/451

E1 Improve the Network Stack · Issue #451 · NativeScript/NativeScript · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the Network Stack #451

Closed
chadcampbell opened this issue Jul 16, 2015 · 6 comments
Closed

Improve the Network Stack #451

chadcampbell opened this issue Jul 16, 2015 · 6 comments

Comments

@chadcampbell
Copy link

It would be valuable if there was a way to know more about the device's network status. For example, it would be nice if the there was a way to:

  • Determine if a network is available (whether you can connect or not)
  • Detect when there has been a change in the network that the device is connected to.
@kstanoev
Copy link

This will make a great plugin! +1

@hamorphis
Copy link
Contributor

I am currently working on these...

hamorphis added a commit that referenced this issue Jul 23, 2015
Resolved Issue #473: Add support for Notification Observers (iOS) and Broadcast Receivers (Android)
hamorphis added a commit that referenced this issue Jul 24, 2015
Resolved Issue #451: Improve the Network Stack
@hamorphis hamorphis added ready for test TSC needs to test this and confirm against live production apps and automated test suites and removed in progress labels Jul 24, 2015
@hamorphis
Copy link
Contributor

@hamorphis
Copy link
Contributor

@chadcampbell
Copy link
Author

@hamorphis

Thank you for tackling this. I reviewed the code and the sample app. From what I could tell, you added

connectivity.connectionType.none
connectivity.connectionType.wifi
connectivity.connectionType.mobile

This is a great start to the connectivity module. However, it only tells the type of connection. From what I can tell, a developer still has challenges to determine if they can actually connect to the internet. 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 probably nice-to-haves at this point. I just wanted to get them down while I was thinking about them. Still, thanks for adding the connectivity module!

hamorphis added a commit that referenced this issue Jul 27, 2015
Resolved Issue #473: Add support for Notification Observers (iOS) and Broadcast Receivers (Android)
@vchimev vchimev added done and removed ready for test TSC needs to test this and confirm against live production apps and automated test suites labels Oct 6, 2015
@lock
Copy link

lock bot commented Aug 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/issues/451

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy