i face a problem to create webview on xamarin
What is the replacement of nugut xam.plugin.connectivity it can’t be updated and i want to create some delegates using it like “OnConnectivityChanged”
searching for another nugut
DSL Data is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
you can use Xamarin.Essentials
plugin.
It will give you information of network state and change events as well.
Reference link: https://devblogs.microsoft.com/xamarin/easily-check-mobile-device-connectivity-with-xamarin-essentials/
Steps:
- Install plugin: Xamarin.Essentials
- Add required permission
- Subscribe network change events like:
Connectivity.ConnectivityChanged += Connectivity_ConnectivityChanged;