getting-started

Configure iOS SDK setup and streaming for Meta AI glasses.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps you set up the Meta Wearables Device Access Toolkit in an iOS app so you can reliably connect to Meta AI glasses and begin streaming or capturing media.

Core Features & Use Cases

  • Swift Package Manager setup: Add the core and camera modules (MWDATCore, MWDATCamera) to your app target using Swift Package Manager.
  • Info.plist configuration: Declare URL schemes and permissions needed for Meta AI callbacks, external accessory connectivity, and Bluetooth background behavior.
  • Session and registration flow: Configure the SDK once at launch, handle the URL callback, start registration, observe registration state, and then start a device streaming session.

Quick Start

Follow the Getting Started steps to add the SDK via Swift Package Manager, configure your Info.plist, call Wearables.configure at app launch, then handle the registration URL callback and start registration to reach a connected state.

Frequently Asked Questions about getting-started

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

FAQPage Schema
How do I connect my iOS app to Meta AI glasses for video streaming?

To connect an iOS app to Meta AI glasses, integrate the MWDATCore and MWDATCamera modules using Swift Package Manager, configure Wearables.configure at launch, and handle the registration URL callback to start a device session.

What Info.plist configuration is needed for Meta AI glasses callbacks?

Info.plist configuration for Meta AI glasses requires declaring specific URL schemes for callbacks, external accessory connectivity protocols, and Bluetooth background behavior permissions to ensure reliable SDK session registration and streaming.

How do I set up the Meta Wearables Device Access Toolkit with Swift Package Manager?

Setting up the Meta Wearables Device Access Toolkit involves adding the MWDATCore and MWDATCamera modules to your app target via Swift Package Manager, configuring the SDK at launch, and executing the startRegistration flow.

How does the registration flow work when connecting to Meta AI glasses?

The Meta AI glasses registration flow requires calling Wearables.configure at app launch, handling the URL callback from Meta AI, executing startRegistration, and observing the registration state before initiating a streaming session.

Do I need to handle URL callbacks to stream video from Meta AI glasses?

Yes, handling URL callbacks is required for Meta AI glasses video streaming. The iOS app must intercept the URL callback during the registration flow to establish a valid device session before streaming begins.

Why is my iOS app not registering with the Meta AI glasses SDK?

iOS app registration with the Meta AI glasses SDK fails if Info.plist lacks the correct URL scheme and MWDAT configuration keys, or if the handleUrl callback is not properly implemented to observe and manage registration state.