AndroidX/README.md

69 строки
4.0 KiB
Markdown
Исходник Постоянная ссылка Обычный вид История

# Third Party Library Bindings for .NET for Android
2019-04-03 18:19:32 +03:00
[![GitHub License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/xamarin/AndroidX/blob/main/LICENSE.txt)
2019-11-20 01:49:38 +03:00
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/xamarin/AndroidX/issues)
[![GitHub contributors](https://img.shields.io/github/contributors/xamarin/AndroidX.svg)](https://github.com/xamarin/AndroidX/graphs/contributors)
2019-11-20 01:49:38 +03:00
Microsoft creates and maintains .NET for Android bindings for many of Google's Java/Kotlin
Android libraries and their required third-party dependency libraries, such as:
2023-11-27 22:24:30 +03:00
- [AndroidX](https://developer.android.com/jetpack) ([Google Release Notes](https://developer.android.com/jetpack/androidx/versions/stable-channel))
- [Google Play Services](https://developers.google.com/android) ([Google Release Notes](https://developers.google.com/android/guides/releases))
- [Firebase](https://firebase.google.com) ([Google Release Notes](https://firebase.google.com/support/release-notes/android))
- [ML Kit](https://developers.google.com/ml-kit) ([Google Release Notes](https://developers.google.com/ml-kit/release-notes))
2019-04-03 18:19:32 +03:00
Note that support for Xamarin.Android ended on [May 1st, 2024](https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin). New versions of these packages will only support .NET for Android.
2019-11-20 01:49:38 +03:00
## Binding Policies
2019-11-20 01:49:38 +03:00
- This repository binds over 600 Android libraries that are published to [NuGet.org](https://nuget.org). The full
2022-09-07 22:58:31 +03:00
package list can be found in [config.json](config.json).
- Most Google Java/Kotlin artifacts and some dependencies come from [Google's Maven Respository](https://maven.google.com/web/index.html#).
2022-09-11 13:21:22 +03:00
- Additional dependencies come from [Maven/Sonatype Central](https://repo1.maven.org/maven2/).
- The major/minor/patch version numbers mirror the bound Android library version. For example, the NuGet `Xamarin.AndroidX.Core 1.3.2.1`
2022-09-07 22:58:31 +03:00
binds version `1.3.2` of the AndroidX library `androidx.core:core`.
- The revision version number is used when a new NuGet needs to be built but the Android library has not been updated.
- We endeavor to release updated NuGets within a few weeks after new Android releases, however large changes occasionally require
2022-09-07 22:58:31 +03:00
more time.
- In general, we do not bind pre-release libraries. As their API is not stable yet, it results in too much rework. Additionally,
it can result in stable NuGet packages depending on unstable NuGet packages.
2019-04-03 18:19:32 +03:00
2022-09-07 22:58:31 +03:00
### Details
Full list of maven artifact to NuGet mappings:
[./docs/artifact-list.md](./docs/artifact-list.md)
Full list of maven artifact with versions to NuGet mappings with versions:
[./docs/artifact-list-with-versions.md](./docs/artifact-list-with-versions.md)
2023-11-27 22:24:30 +03:00
## Support
Note that these packages are largely just autogenerated bindings around Google's Android libraries. As such, our support is limited to issues caused by our bindings. For tutorials/samples/support using the libraries themselves, please refer to [Google's documentation](https://developer.android.com/jetpack).
2023-11-27 22:24:30 +03:00
2019-04-03 18:19:32 +03:00
## License
The license for this repository is specified in [LICENSE.txt](LICENSE.txt).
2019-04-03 18:19:32 +03:00
2022-09-11 13:21:22 +03:00
Each package published from this repository generally contains third-party code (ie: `.jar`/`.aar`) that
is governed by its own license. Per-package license information is available in [cgmanifest.json](cgmanifest.json).
## Building
Instructions for building this repository are specified in [BUILDING.md](BUILDING.md).
2022-09-08 17:52:51 +03:00
In depth building instructions: [./docs/build.md](./docs/build.md).
2022-09-07 22:58:31 +03:00
2019-04-03 18:19:32 +03:00
## Contribution Guidelines
2019-11-20 01:50:33 +03:00
The Contribution Guidelines for this repository are listed in [CONTRIBUTING.md](.github/CONTRIBUTING.md).
2019-04-03 18:19:32 +03:00
2023-11-27 22:24:30 +03:00
This project has adopted the code of conduct defined by the Contributor Covenant
to clarify expected behavior in our community. For more information, see the
[.NET Foundation Code of Conduct](http://www.dotnetfoundation.org/code-of-conduct).
2019-04-03 18:19:32 +03:00
## .NET Foundation
2019-11-20 01:50:33 +03:00
This project is part of the [.NET Foundation](http://www.dotnetfoundation.org/projects).