permissions-registration

Register iOS apps with Meta AI and request camera permissions via SDK.

506|113|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/facebook/meta-wearables-dat-ios --skill permissions-registration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: permissions-registration
Source: https://github.com/facebook/meta-wearables-dat-ios/tree/main/plugins/mwdat-ios/skills/permissions-registration
Command: npx skills add https://github.com/facebook/meta-wearables-dat-ios --skill permissions-registration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Eliminates the confusion and setup friction of registering an iOS app with Meta AI and then correctly requesting device permissions (like camera) through the Meta AI companion app flow.

Core Features & Use Cases

  • App Registration with Meta AI: Start registration, handle the URL-scheme callback, and observe registration state until the app becomes registered.
  • Device Permission Requests: Check current permission status and request specific permissions such as camera, with user approval performed in Meta AI.
  • Multi-device Availability Behavior: Support scenarios where permissions are granted on any linked glasses, and handle availability changes when devices disconnect.
  • Developer Mode vs Production: Use Developer Mode for always-allowed registration (e.g., MetaAppID = 0) and enforce release-channel requirements for production.

Quick Start

Start registration from your app, handle the Meta AI callback via onOpenURL, wait for the registration state to become registered, and then request camera permission using the SDK permission request API.

Frequently Asked Questions about permissions-registration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register my iOS app with Meta AI and request camera access?

To register your iOS app with Meta AI and request camera access, you must start the SDK registration, handle the URL scheme callback, observe the asynchronous registration state stream, and then invoke the camera permission request API.

What is the URL scheme callback flow for Meta AI app registration on iOS?

The URL scheme callback flow for Meta AI app registration requires intercepting the onOpenURL event in your iOS app to handle the Meta AI callback, allowing the SDK to complete the registration process asynchronously.

Can I test Meta AI registration and camera permission requests without a production release?

Yes, you can use Developer Mode for always-allowed registration, such as setting MetaAppID to 0, bypassing the release-channel requirements enforced for production environments.

How do I handle camera permission availability when linked glasses disconnect?

To handle camera permission availability when devices disconnect, you must observe the async state streams to manage multi-device availability behavior and detect when permissions granted on linked glasses become unavailable.

Why does checking permission status fail before Meta AI registration is complete?

Checking permission status fails before registration is complete because the SDK requires the asynchronous registration state stream to reach the registered state before permission APIs like checkPermissionStatus and requestPermission can function.

What's the best way to observe the iOS SDK registration state stream for Meta AI integration?

The best way to observe the iOS SDK registration state stream for Meta AI integration is to listen to the asynchronous registrationStateStream provided by the SDK, waiting until the state becomes registered before proceeding.