hz-platform-sdk
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hz-platform-sdk" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-431960bc717ae964a213c2699f451c77e66be27c7da1011105bff316f36c28bb. Verify the upstream source and version against https://github.com/meta-quest/agentic-tools before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Guidance for integrating the Horizon Platform SDK into Android/Kotlin apps for Meta Quest and Horizon OS. Covers achievements, in‑app purchases (IAP), users, leaderboards, online presence, notifications, abuse reporting, permissions, resources, app lifecycle, user consent, device integrity, language packs, age gating, and ratings & reviews, including setup, initialization, API usage, data types, error handling and best practices for 17 public platform SDK packages.
Introduction source: third_party · meta-quest · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Android/Kotlin apps — achievements, IAP, users, leaderboards, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age categories, and rate and review. Covers setup, initialization, API usage, data types, error handling, and best practices for all 17 public platform SDK packages. Build paths: Standard Android and Meta Spatial SDK; use hz-psdk-integration for guided integration, hz-unity-platform-sdk for Unity/C#, and hz-quest-verify-first if the path is unclear.
- Audience
- Use this skill when a developer: Wants to integrate any Horizon Platform SDK feature in a Meta VR Android/Kotlin application Asks about setup, initialization, or dependencies for the SDK Needs help with a specific public platform API (achievements, IAP, users, etc.) Is troubleshooting errors or status codes from any SDK package Asks about HorizonServiceConnection, entitlements, or HzPlatformService
- Testing
- Not tested
Browse files
Frontmatter
name: hz-platform-sdk
license: Apache-2.0
description: "Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Android/Kotlin apps — achievements, IAP, users, leaderboards, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age categories, and rate and review. Covers setup, initialization, API usage, data types, error handling, and best practices for all 17 public platform SDK packages. Build paths: Standard Android and Meta Spatial SDK; use hz-psdk-integration for guided integration, hz-unity-platform-sdk for Unity/C#, and hz-quest-verify-first if the path is unclear."Horizon Platform SDK - Android/Kotlin Integration Guide
This is the API-reference skill for the Standard Android and Meta Spatial SDK
Android/Kotlin build paths.
For a guided codebase-analysis and integration workflow, use
hz-psdk-integration. For Unity/C#, use hz-unity-platform-sdk instead.
When to Use
Use this skill when a developer:
- Wants to integrate any Horizon Platform SDK feature in a Meta VR Android/Kotlin application
- Asks about setup, initialization, or dependencies for the SDK
- Needs help with a specific public platform API (achievements, IAP, users, etc.)
- Is troubleshooting errors or status codes from any SDK package
- Asks about HorizonServiceConnection, entitlements, or HzPlatformService
Quick Start
- Setup guide: https://developers.meta.com/horizon/documentation/android-apps/ps-setup-kotlin
- Maven artifacts: https://central.sonatype.com/search?namespace=com.meta.horizon.platform.sdk
Available APIs
| Feature | Reference | Description |
|---|---|---|
| Abuse Report | abuse-report |
Listen for report button events in the system panel |
| Achievements | achievements |
Unlock, track progress, and query simple/count/bitfield achievements |
| Application | application |
Get app version, launch other apps, manage self-update downloads |
| Application Lifecycle | application-lifecycle |
Detect launch type, handle deeplinks, log deeplink results |
| Asset File | asset-file |
List, download, cancel, and delete downloadable asset files (DLC) |
| Consent | consent |
Check and launch user consent flows |
| Device Application Integrity | device-application-integrity |
Verify device and app integrity tokens |
| Entitlements | entitlements |
Verify app purchase legitimacy and user authorization |
| Group Presence | group-presence |
Set/clear presence, manage sessions, send invites, launch panels |
| In-App Purchases (IAP) | iap |
Retrieve products, purchase history, checkout flow, consume purchases |
| Language Pack | language-pack |
Get/set language packs, track localization downloads |
| Leaderboards | leaderboards |
Retrieve leaderboard info, fetch/write entries with filtering |
| Notifications | notifications |
Send device notifications with actions and icons |
| Rate and Review | rate-and-review |
Check eligibility and launch the rating/review UI |
| Rich Presence | rich-presence |
Set/clear rich presence status and destinations (deprecated; prefer group-presence) |
| User Age Category | user-age-category |
Query user age group and report age categories |
| Users | users |
Retrieve user profiles, friends, access tokens, identity verification |
How to Use
- First, read
references/common-setup.mdfor shared setup instructions, initialization code, and common status codes that apply to all APIs. - Then, read the specific reference file for the API you need (e.g.,
references/iap.mdfor in-app purchases). - For exact signatures, query the API index instead of guessing:
metavr docs api-search "<feature> <operation>", thenmetavr docs api-details <entry>for the full entry.
Each reference file contains only the package-specific content: API operations, data types, examples, and package-specific notes. The common setup and error codes are centralized in common-setup.md to avoid duplication.
Version history
-
v1.8.0
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/compare/v1.2.3...v1.8.0
-
v1.2.3
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/compare/v1.2.1...v1.2.3
-
v1.2.1
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/commits/v1.2.1
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Horizon Platform SDK 集成指南覆盖 17 个核心 API,为 Meta VR Android/Kotlin 开发者提供全面参考
- 内容结构清晰,区分通用设置与具体 API 实现,有效避免重复
Highlights
- 触发词覆盖完整,包括集成、设置、API 使用、错误排查等多种场景
- 边界清晰,通过 build path 分流引导用户选择正确技能
Highlights
- 执行流程分步明确:先读 common-setup.md,再读具体 API 文件
- 提供快速入门链接和 Maven 仓库地址,便于开发者快速上手
Areas to improve
-
缺少显式异常处理示例和确认机制说明 Reported severity: Minor
Skill 提及错误处理和状态码,但未在具体 API 参考文件中展示常见异常处理代码示例,也未对不可逆操作(如购买、删除资源)说明用户确认机制
Recommendation: 建议在具体 API 参考文件中补充常见异常处理代码示例,并对不可逆操作(如购买、删除资源)增加用户确认机制说明
Highlights
- 工具来源明确,提供官方文档链接和 Maven 仓库地址
- 提及错误处理与状态码,具备基本的可靠性保障
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- central.sonatype.com
- developers.meta.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.