Connectivity Plugin for Xamarin and Windows
Simple cross platform plugin to check connection status of mobile device, gather connection type, bandwidths, and more.
Documentation
Get started by reading through the Connectivity Plugin documentation.
NuGet
- Available on NuGet: Xam.Plugin.Connectivity
Build:
- CI NuGet Feed: https://ci.appveyor.com/nuget/connectivityplugin
Xamarin.Essentials or .NET MAUI
Migrate to:I have been working on Plugins for Xamarin for a long time now. Through the years I have always wanted to create a single, optimized, and official package from the Xamarin team at Microsoft that could easily be consumed by any application. The time is now with Xamarin.Essentials, which offers over 50 cross-platform native APIs in a single optimized package. I worked on this new library with an amazing team of developers and I highly highly highly recommend you check it out.
Additionally, Xamarin.Essentials is now included in & .NET MAUI.
Due to the functionality being included "in the box" I have decided to officially archive this repo.
Platform Support
Platform | Version |
---|---|
Xamarin.iOS | iOS 6+ |
tvOS - Apple TV | All |
Xamarin.Android | API 10+ |
Windows 10 UWP | 10+ |
Xamarin.Mac | All |
.NET 4.5/WPF | All |
.NET Core | 2.0+ |
Tizen | 4.0+ |
@JamesMontemagno
Created By:- Twitter: @JamesMontemagno
- Blog: MotzCod.es, Micro Blog
- Podcasts: Merge Conflict, Coffeehouse Blunders, The Xamarin Podcast
- Video: The Xamarin Show on Channel 9, YouTube Channel
Contribution
Thank you for your interest in contributing to the Connectivity plugin! In this section we'll outline what you need to know about contributing and how to get started.
Bug Fixes
Please browse open issues, if you're looking to fix something, it's possible that someone already reported it. Additionally you select any up-for-grabs
items
Pull requests
Please fill out the pull request template when you send one. Run tests to make sure your changes don't break any unit tests. Follow these instructions to run tests -
iOS
- Navigate to tests/Connectivity.Tests.iOS
- Execute
make run-simulator-tests
Android
Execute ./build.sh --target RunDroidTests
from the project root
License
The MIT License (MIT) see License file
Want To Support This Project?
All I have ever asked is to be active by submitting bugs, features, and sending those pull requests down! Want to go further? Make sure to subscribe to my weekly development podcast Merge Conflict, where I talk all about awesome Xamarin goodies and you can optionally support the show by becoming a supporter on Patreon.