{"id":19699560,"url":"https://github.com/hms-core/hms-xamarin-bindings","last_synced_at":"2025-08-21T17:29:18.613Z","repository":{"id":39640477,"uuid":"354019215","full_name":"HMS-Core/hms-xamarin-bindings","owner":"HMS-Core","description":"This repo contains all of Xamarin HMS plugins.","archived":false,"fork":false,"pushed_at":"2022-05-30T03:50:30.000Z","size":21075,"stargazers_count":37,"open_issues_count":6,"forks_count":12,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-09T15:54:49.103Z","etag":null,"topics":["hms","hmscore","xamarin","xamarin-android-binding","xamarin-ios-binding"],"latest_commit_sha":null,"homepage":"https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HMS-Core.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-02T12:55:21.000Z","updated_at":"2025-02-23T12:38:36.000Z","dependencies_parsed_at":"2022-08-28T10:01:53.784Z","dependency_job_id":null,"html_url":"https://github.com/HMS-Core/hms-xamarin-bindings","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-xamarin-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-xamarin-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-xamarin-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-xamarin-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HMS-Core","download_url":"https://codeload.github.com/HMS-Core/hms-xamarin-bindings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251509504,"owners_count":21600651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hms","hmscore","xamarin","xamarin-android-binding","xamarin-ios-binding"],"created_at":"2024-11-11T21:00:55.582Z","updated_at":"2025-04-29T13:31:22.410Z","avatar_url":"https://github.com/HMS-Core.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HMS Xamarin Bindings\n[![license](https://img.shields.io/badge/license-Apache--2.0-green)](./LICENCE)\n\n\nThis repo contains the source code for HMS Xamarin first-party plugins, which are developed by the HMS Core team.\n\nThese plugins enable access to using kit-specific APIs. For more information about plugins, and how to use them, see\n[Official Documentations](https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1).\n\n\n## Plugins\nThese are the available plugins in this repository.\n\n| Plugin | Version | Download | Documentation |\n|--------|-----|-----|-----|\n| [Location](./android/source/location) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Location?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Location) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Location?style=for-the-badge)](./android/source/location) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparedevenv-0000001050140270?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001135675135?ha_source=hms1) |\n| [Push](./android/source/push) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Push?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Push) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Push?style=for-the-badge)](./android/source/push) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparedevenv-0000001050136492?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001096871993?ha_source=hms1) |\n| [Account](./android/source/hwid) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Hwid?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Hwid) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Hwid?style=for-the-badge)](./android/source/hwid) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparing-development-environment-0000001050765753?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001050731906?ha_source=hms1) |\n| [IAP](./android/source/iap) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Iap?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Iap) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Iap?style=for-the-badge)](./android/source/iap) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparedevenv-0000001051088608?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001061670763-V1?ha_source=hms1) |\n| [Maps](./android/source/maps) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Maps?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Maps) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Maps?style=for-the-badge)](./android/source/maps) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides-V1/preparations-0000001050141074-V1?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001061343659-V1?ha_source=hms1) |\n| [Analytics](./android/source/hianalytics) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Hianalytics?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Hianalytics) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Hianalytics?style=for-the-badge)](./android/source/hianalytics) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050139636?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001062576888-V1?ha_source=hms1) |\n| [Site](./android/source/site) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Site?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Site) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Site?style=for-the-badge)](./android/source/site) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparedevenv-0000001050140558?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001126551109-V1?ha_source=hms1) |\n| [Ads](./android/source/ads-identifier) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.AdsIdentifier?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.AdsIdentifier) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.AdsIdentifier?style=for-the-badge)](./android/source/ads-identifier) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparing-development-environement-0000001050418813?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/xamarin-apis-overview-0000001050285576-V1?ha_source=hms1) |\n| [ML](./android/source/ml-computer-vision-cloud) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.MlComputerVisionCloud?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.MlComputerVisionCloud) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.MlComputerVisionCloud?style=for-the-badge)](./android/source/ml-computer-vision-cloud) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/prepare-dev-env-0000001052968081?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001052991421-V1?ha_source=hms1) |\n| [Scan](./android/source/scan) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Scan?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Scan) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Scan?style=for-the-badge)](./android/source/scan) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001057554169?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001057541182-V1?ha_source=hms1) |\n| [AR](./android/source/arenginesdk) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Arenginesdk?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Arenginesdk) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Arenginesdk?style=for-the-badge)](./android/source/arenginesdk) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides-V1/preparing-dev-environment-0000001058937900-V1?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001058415701-V1?ha_source=hms1) |\n| [Dtm](./android/source/dtm-api) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Dtmapi?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Dtmapi) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Dtmapi?style=for-the-badge)](./android/source/dtm-api) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides-V1/dev-process-0000001057354673-V1?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001057667873-V1?ha_source=hms1) |\n| [Safety Detect](./android/source/safetydetect) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Safetydetect?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Safetydetect) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Safetydetect?style=for-the-badge)](./android/source/safetydetect) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparing-dev-environment-0000001058928448?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001062957468?ha_source=hms1) |\n| [Contact Shield](./android/source/contactshield) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Contactshield?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Contactshield) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Contactshield?style=for-the-badge)](./android/source/contactshield) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/dev-process-0000001061291689?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/xamarin-apis-overview-0000001062235522-V1?ha_source=hms1) |\n| [Awareness](./android/source/awareness) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Awareness?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Awareness) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Awareness?style=for-the-badge)](./android/source/awareness) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparing-the-development-environment-0000001061419917?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001063192165?ha_source=hms1) |\n| [Health](./android/source/health) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Health?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Health) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Health?style=for-the-badge)](./android/source/health) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparedevenv-0000001073721939?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001072603831-V1?ha_source=hms1) |\n| [Nearby Service](./android/source/nearby) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Nearby?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Nearby) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Nearby?style=for-the-badge)](./android/source/nearby) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparedevenv-0000001088299068?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001062363591-V1?ha_source=hms1) |\n| [FidoFido2](./android/source/fido-fido2) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.FidoFido2?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.FidoFido2) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.FidoFido2?style=for-the-badge)](./android/source/fido-fido2) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/prepare-dev-env-0000001077711574?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001114489741?ha_source=hms1) |\n| [FidoBioauthn](./android/source/fido-bioauthn) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.FidoBioauthn?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.FidoBioauthn) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.FidoBioauthn?style=for-the-badge)](./android/source/fido-bioauthn) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/prepare-dev-env-0000001077711574?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001114489741?ha_source=hms1) |\n| [FidoBioauthnAndroidX](./android/source/fido-bioauthn-androidx) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.FidoBioauthnAndroidX?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.FidoBioauthnAndroidX) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.FidoBioauthnAndroidX?style=for-the-badge)](./android/source/fido-bioauthn-androidx) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/prepare-dev-env-0000001077711574?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001114489741?ha_source=hms1) |\n| [Drive](./android/source/drive) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Drive?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Drive) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Drive?style=for-the-badge)](./android/source/drive) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/prepare-dev-env-0000001077870416?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001117408245?ha_source=hms1) |\n| [Wallet](./android/source/wallet) | [![version](https://img.shields.io/nuget/v/Huawei.Hms.Wallet?style=for-the-badge)](https://www.nuget.org/packages/Huawei.Hms.Wallet) | [![version](https://img.shields.io/nuget/dt/Huawei.Hms.Wallet?style=for-the-badge)](./android/source/wallet) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparing-dev-enviroenment-0000001078258878?ha_source=hms1) \u003cbr/\u003e [API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/namespace-overview-0000001096685665-V1) |\n\n\n## Building \n\n### Prerequisites\n\nThe build script for this project uses [Cake](http://cakebuild.net).  To run the build, you can use one of the bootstrapper files either for Mac or Windows.\n\nThe bootstrapper script will automatically download Cake.exe and all the required tools and files into the `./tools/` folder.\n\n```sh\ndotnet tool install -g cake.tool\n```\n\nWhen building on macOS, you may also need to install CocoaPods:\n\n```sh\n# Homebrew\nbrew install cocoapods\n\n# Ruby Gems\ngem install cocoapods\n```\n\n### Compiling\n\nYou can either build all the libraries and samples in the repository from the root:\n\n```sh\ndotnet cake\n```\n\nOr, you can build each component separately:\n\n```sh\n# iOS\ncd ios\ndotnet cake\n\n# Android\ncd android\ndotnet cake\n```\n\nThe following targets can be specified using the `--target=\u003ctarget-name\u003e`:\n\n - `build` builds the class library bindings (depends on `externals`)\n - `externals` downloads and builds the external dependencies\n - `samples` builds all of the samples\n - `nuget` builds the nuget packages\n - `clean` cleans up everything\n\n **Note:** In the `main-components.cake` and `dependency.cake`, there are only latest versions specified. You can change the versions and compile the projects as you like.\n\n\n## Question or issues\nIf you want to evaluate more about HMS Core, [r/HMSCore on Reddit](https://www.reddit.com/r/HuaweiDevelopers/) is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.\n\nIf you have questions about how to use HMS samples, try the following options:\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services) is the best place for any programming questions. Be sure to tag your question with \n`huawei-mobile-services`.\n- [Huawei Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001?ha_source=hms1) HMS Core Module is great for general questions, or seeking recommendations and opinions.\n\nIf you run into a bug in our samples, please submit an [issue](https://github.com/HMS-Core/hms-xamarin-bindings/issues) to the Repository. Even better you can submit a [Pull Request](https://github.com/HMS-Core/hms-xamarin-bindings/pulls) with a fix.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhms-core%2Fhms-xamarin-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhms-core%2Fhms-xamarin-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhms-core%2Fhms-xamarin-bindings/lists"}