Guide app registration with Meta AI and camera permission request flows.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "permissions-registration" skill from askskill: 1. Download https://raw.githubusercontent.com/facebook/meta-wearables-dat-ios/main/plugins/mwdat-ios/skills/permissions-registration/SKILL.md 2. Save it as ~/.claude/skills/permissions-registration/SKILL.md 3. Reload skills and tell me it's ready
Please outline the app registration flow for integrating Meta AI, including required accounts, console configuration, callback setup, and the key differences in camera permission requests on iOS and Android.
A step-by-step integration guide covering registration, configuration, and camera permission requirements on both platforms.
Write permission request copy for a mobile app that uses Meta AI and camera features, including a pre-permission prompt, system permission usage explanation, and retry messaging after denial.
Practical permission messaging for product and engineering teams, covering before, during, and after the request.
List common causes of Meta AI app registration failures or camera permission issues, and format the output as symptoms, possible causes, troubleshooting steps, and fixes.
A structured troubleshooting checklist to quickly identify registration configuration or permission flow errors.
Register your app with Meta AI, then request the device permissions it needs.
The DAT SDK separates two concepts:
All permission grants occur through the Meta AI companion app.
func startRegistration() async throws {
try await Wearables.shared.startRegistration()
}
This opens the Meta AI app where the user approves your app. Meta AI then calls back via your URL scheme.
.onOpenURL { url in
Task {
_ = try? await Wearables.shared.handleUrl(url)
}
}
Task {
for await state in Wearables.shared.registrationStateStream() {
switch state {
case .registered:
// App is registered, can request permissions
case .unavailable:
// Registration is unavailable
case .available:
// Ready to register
case .registering:
// Registration in progress
}
}
}
func startUnregistration() async throws {
try await Wearables.shared.startUnregistration()
}
let status = try await Wearables.shared.checkPermissionStatus(.camera)
let status = try await Wearables.shared.requestPermission(.camera)
The SDK opens Meta AI for the user to grant access. Users can choose:
Users can link multiple glasses to Meta AI. The SDK handles this transparently:
| Mode | Registration behavior |
|---|---|
| Developer Mode | Registration always allowed (use MetaAppID = 0) |
| Production | Users must be in proper release channel |
For production, get your APPLICATION_ID from the Wearables Developer Center.
Set up the Meta glasses SDK and make your first connection.
Manage device session states, pause and resume flows, and availability monitoring.
Build a complete DAT app with camera streaming and photo capture.
Learn Swift conventions, naming, and async patterns for DAT SDK iOS development.
Stream camera video, capture frames or photos, and configure resolution and frame rate.
Identify common bugs, version conflicts, and state machine failures faster.
Helps developers set up Meta AI app registration and device permission flows.
Access Meta ad analytics and analyze video creatives with AI insights.
Search Microsoft Entra ID and Graph permissions plus first-party app details.
Securely handle files and simulate commands with policy checks and approvals
Set up the Android SDK and connect to Meta glasses for the first time.
Build a complete DAT app with sessions, camera streaming, and photo capture.