facebook/meta-wearables-dat-ios/permissions-registration
Claude Code and agent skill by facebook/meta-wearables-dat-ios
- community
Checking that the SKILL.md file is still in the repository.
App registration with Meta AI, camera permission flows
Install
npx vskill@latest install facebook/meta-wearables-dat-ios/permissions-registrationSKILL.md
The same SKILL.md was published earlier as facebook/meta-wearables-dat-ios/permissions-registration.
Permissions & Registration (iOS)
Register your app with Meta AI, then request the device permissions it needs.
The DAT SDK separates two concepts:
- Registration — Your app registers with Meta AI to become a permitted integration
- Device permissions — After registration, request specific device permissions (e.g., camera)
All permission grants occur through the Meta AI companion app.
Registration flow
Start registration
This opens the Meta AI app where the user approves your app. Meta AI then calls back via your URL scheme.
Handle the callback
Filter on the metaWearablesAction query item so unrelated deep links are not forwarded to the SDK:
Observe registration state
Unregister
Camera permissions
Check permission status
Request permission
The SDK opens Meta AI for the user to grant access. Users can choose:
- Allow once — temporary, single-session grant
- Allow always — persistent grant
Multi-device behavior
Users can link multiple glasses to Meta AI. The SDK handles this transparently:
- Permission granted on any linked device means your app has access
- You don't need to track which device has permissions
- If all devices disconnect, permissions become unavailable
Typed errors
Registration and permission APIs use typed throws. Prefer error.description or error.localizedDescription over your own error strings:
startRegistration()throwsRegistrationError:.alreadyRegistered,.configurationInvalid,.metaAINotInstalled,.networkUnavailable,.unknownstartUnregistration()throwsUnregistrationError:.alreadyUnregistered,.configurationInvalid,.metaAINotInstalled,.unknownhandleUrl(_:)throwsWearablesHandleURLError:.registrationError,.unregistrationErrorcheckPermissionStatus(_:)andrequestPermission(_:)throwPermissionError:.noDevice,.noDeviceWithConnection,.connectionError,.metaAINotInstalled,.requestInProgress,.requestTimeout,.internalErroropenFirmwareUpdate()andopenDATGlassesAppUpdate()throwNavigationError:.metaAINotInstalled,.notRegistered
Update flows
When a device reports compatibility() == .deviceUpdateRequired, offer a firmware update. When session start reports DeviceSessionError.datAppOnTheGlassesUpdateRequired, offer the glasses app update. Both open Meta AI:
Developer Mode vs Production
| Mode | Registration behavior | |
|---|---|---|
| Developer Mode | Registration always allowed. MetaAppID is empty, 0, or an unexpanded $(META_APP_ID) placeholder, so the SDK skips attestation | |
| Production | MetaAppID, ClientToken, and TeamID must all be set, and users must be in the proper release channel |
For production, get your app ID and client token from the Wearables Developer Center, and use your Apple Developer Team ID for TeamID.
Prerequisites
- Registration requires an internet connection
- Meta AI companion app must be installed
- For Developer Mode: enable in Meta AI > Settings > Your glasses > Developer Mode
Links
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/mwdat-ios/skills/permissions-registration/SKILL.md
Popularity
- Repository stars
- 555
- Repository forks
- 123
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/facebook/meta-wearables-dat-ios/permissions-registration)