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

NetworkInfo is deprecated #19

Closed
shamshadpattani opened this issue May 6, 2020 · 4 comments
Closed

NetworkInfo is deprecated #19

shamshadpattani opened this issue May 6, 2020 · 4 comments

Comments

@shamshadpattani
Copy link

shamshadpattani commented May 6, 2020

NedtworkInfo,activeNetworkInfo and isConnectedOrConnecting are deprecated in NetWorkUtlits class

@PatilShreyas
Copy link
Owner

Yes, that's why we have used that Listener in that. It'll definitely work.

@shamshadpattani
Copy link
Author

can you please explain how it work

@PatilShreyas
Copy link
Owner

You can see we've implemented ConnectivityManager.NetworkCallback for accessing network state in real-time. As mentioned here we've used that. That deprecated method is just used to get current info and we're not fully dependent on that as you can see.

@shamshadpattani
Copy link
Author

Ok ,Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants