Open Source Components for Xamarin
Open Source Components for Xamarin are a collection of open source components (including bindings and plugins) created by Xamarin and others in the community.
Please note that this repository of bindings for third-party mobile libraries is considered unsupported and unmaintained. We have moved many of the most popular and essential bindings to other repositories where they will be supported: #1417.
Existing bindings published from this repository will continue to be available on NuGet, but will not receive fixes or updates to newer versions.
For details of bindings officially supported by Microsoft, see the Support page.
dotnet tool install -g cake.tool
When building on macOS, you may also need to install CocoaPods:
# Homebrew brew install cocoapods # Ruby Gems gem install cocoapods
You can either build all the libraries and samples in the repository from the root:
dotnet cake --name=<name-from-manifest>
Or, you can build each component separately:
cd <path-to-component> dotnet cake
The name of each component can be found in the manifest.yaml. For example, to build the
ARCore component, you can either start the build from the root:
dotnet cake --name=ARCore --target=nuget
Or, you can navigate to the folder and run it from there:
cd Android/ARCore dotnet cake --target=nuget
The following targets can be specified using the
libsbuilds the class library bindings (depends on
externalsdownloads and builds the external dependencies
samplesbuilds all of the samples (depends on
nugetbuilds the nuget packages (depends on
cleancleans up everything
Working in Visual Studio
.sln files will compile in the IDEs, the external dependencies need to be downloaded. This can be done by running the
dotnet cake --target=externals
After the externals are downloaded and built, the
.sln files should compile in your IDE.
Support & Getting Help
The following libraries are supported.
|AndroidX Libraries||Bindings for Google's AndroidX Libraries||GitHub|
|Google Play Services Client Libraries||Bindings for Google's Play Services Client Libraries||GitHub|
|Google API's for iOS||Bindings for Google's API's for iOS Libraries||GitHub|
|Facebook SDK's||Bindings for Facebook's iOS & Android SDK's||GitHub|
|Xamarin.Auth||Cross-platform API for authenticating users and storing their accounts.||GitHub|
To get help, visit the Xamarin area of Microsoft Q&A.
Xamarin.Essentials gives developers essential cross-platform APIs for their mobile applications. Xamarin.Essentials exposes over 60 native APIs in a single cross-platform package for developers to consume in their iOS, Android, UWP, or Xamarin.Forms application. Browse through the documentation on how to get started today.
The repository for Xamarin.Essentials can be found at https://github.com/xamarin/Essentials. If you have any suggestions or feature requests, or if you find any issues, please open a new issue.