com.salvadorjesus.Xamarin.Essentials
1.0.0
dotnet add package com.salvadorjesus.Xamarin.Essentials --version 1.0.0
NuGet\Install-Package com.salvadorjesus.Xamarin.Essentials -Version 1.0.0
<PackageReference Include="com.salvadorjesus.Xamarin.Essentials" Version="1.0.0" />
paket add com.salvadorjesus.Xamarin.Essentials --version 1.0.0
#r "nuget: com.salvadorjesus.Xamarin.Essentials, 1.0.0"
// Install com.salvadorjesus.Xamarin.Essentials as a Cake Addin #addin nuget:?package=com.salvadorjesus.Xamarin.Essentials&version=1.0.0 // Install com.salvadorjesus.Xamarin.Essentials as a Cake Tool #tool nuget:?package=com.salvadorjesus.Xamarin.Essentials&version=1.0.0
Xamarin.Essentials fork with fixes for Android 14
This is a fork for the Xamarin Essentials project adding support for Android 14.
The official project has the following issue: Connectivity.ConnectivityChanged handler does not work when targeting API 34 on Android 14.
With the following proposed fix: Fix connectivity broadcast receiver never triggered on android 14.0/34+.
Unfortunately, it's look like this fix won't appear on official release due to end of support date.
I'm forking this repo an uploading the resulting nugget to nugget.org for everyone convenience.
What follows is the original README.MD file:
Xamarin.Essentials
Xamarin.Essentials gives developers essential cross-platform APIs for their mobile applications.
iOS, Android, and UWP offer unique operating system and platform APIs that developers have access to, all in C# leveraging Xamarin. It is great that developers have 100% API access in C# with Xamarin, but these APIs are different per platform. This means developers have to learn three different APIs to access platform-specific features. With Xamarin.Essentials, developers have a single cross-platform API that works with any iOS, Android, or UWP application that can be accessed from shared code no matter how the user interface is created.
Questions
Get your technical questions answered by experts on Microsoft Q&A.
Contribution Discussion
Contributing to Xamarin.Essentials? Join our Discord server and chat with the team
Build Status
Build Server | Type | Platform | Status |
---|---|---|---|
Azure DevOps | Build | Windows |
Installation
Xamarin.Essentials is available via NuGet & is included in every template:
- NuGet Official Releases:
- Nightly / CI Releases: https://aka.ms/xamarin-essentials-ci/index.json
Please read our Getting Started with Xamarin.Essentials guide for full setup instructions.
Xamarin.Essentials with .NET MAUI and iOS/Android .NET projects
Starting in .NET 6, Xamarin.Essentials was added into .NET MAUI directly. The team has worked hard to ensure that while it comes pre-configured with every .NET MAUI application, it is still available to all iOS and Android apps built with .NET. If you are building a .NET MAUI project there is nothing more for you to do, just start using the APIs. If you are migrating a Xamarin.iOS or Xamarin.Android app and want to use the Essentials APIs, then add the following into your project's csproj file:
<PropertyGroup>
<UseMauiEssentials>true</UseMauiEssentials>
</PropertyGroup>
Once you update to .NET MAUI Essentials, you will need to update any using Xamarin.Essentials;
using statements (and any other namespace references) to the new .NET MAUI Essentials namespaces, which you can find in the documentation.
Documentation
Browse our full documentation for Xamarin.Essentials, including feature guides, on how to use each feature.
Supported Platforms
Platform support & feature support can be found on our documentation
Contributing
Please read through our Contribution Guide. We are not accepting new PRs for full features, however any issue that is marked as up for grabs
are open for community contributions. We encourage creating new issues for bugs found during usage that the team will triage. Additionally, we are open for code refactoring suggestions in PRs.
Building Xamarin.Essentials
Xamarin.Essentials is built with the new SDK-style projects with multi-targeting enabled. This means that all code for iOS, Android, and UWP exist inside of the Xamarin.Essentials project.
Visual Studio
A minimum version of Visual Studio 2019 16.3 or Visual Studio for Mac 2019 8.3 are required to build and compile Xamarin.Essentials.
Workloads needed:
- Xamarin
- .NET Core
- UWP
You will need the following SDKs
- Android 10.0, 9.0, 8.1, 8.0, 7.1, 7.0, & 6.0 SDK Installed
- UWP 10.0.16299 SDK Installed
Your can run the included android-setup.ps1
script in Administrator Mode and it will automatically setup your Android environment.
FAQ
Here are some frequently asked questions about Xamarin.Essentials, but be sure to read our full FAQ on our Wiki.
License
Please see the License.
Stats
<img src="https://repobeats.axiom.co/api/embed/f917a77cbbdeee19b87fa1f2f932895d1df18b31.svg" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.0 is compatible. netstandard1.1 was computed. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid13.0 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 is compatible. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. uap10.0.16299 is compatible. |
Windows Phone | wp8 was computed. wp81 was computed. wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. xamarinmac20 is compatible. |
Xamarin.TVOS | xamarintvos was computed. xamarintvos10 is compatible. |
Xamarin.WatchOS | xamarinwatchos was computed. xamarinwatchos10 is compatible. |
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
- System.Numerics.Vectors (>= 4.5.0)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- System.Numerics.Vectors (>= 4.5.0)
-
MonoAndroid 13.0
- System.Numerics.Vectors (>= 4.5.0)
- Xamarin.AndroidX.Browser (>= 1.3.0.5 && <= 1.6.0)
- Xamarin.Google.Guava.ListenableFuture (>= 1.0.0.15)
-
Tizen 4.0
- No dependencies.
-
UAP 10.0.16299
- No dependencies.
-
Xamarin.iOS 1.0
- System.Numerics.Vectors (>= 4.5.0)
-
Xamarin.Mac 2.0
- No dependencies.
-
Xamarin.TVOS 1.0
- System.Numerics.Vectors (>= 4.5.0)
-
Xamarin.WatchOS 1.0
- System.Numerics.Vectors (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 204 | 4/11/2024 |
Forked from main branch and solving Connectivity.ConnectivityChanged handler does not work when targeting API 34 on Android 14 phones / emulators (https://github.com/xamarin/Essentials/issues/2130).