Set up the Meta glasses SDK and make your first connection.
This skill material is documentation/prompt-only and does not declare secrets or custom remote endpoints, so overall risk is low. Caution is still warranted because it points to an open-source GitHub repository with low adoption and unknown maintenance, and the docs indicate interaction with the Meta AI companion app and external wearable devices.
The material explicitly states that no keys or environment variables are required. The README only shows development-time `MetaAppID=0` and URL scheme configuration, with no request for API tokens, account passwords, or other sensitive credentials.
No remote endpoint is explicitly declared, but the docs require the Meta AI companion app, URL callbacks from it, and `startRegistration()` for device registration/connection. This implies communication may occur via the official companion app or connected device, though the material does not specify exact outbound domains or data scope.
The current audit target is installation/integration documentation, and the system flags it as prompt-only. The material does not describe spawning shells, running scripts locally, or requesting unusual code-execution privileges.
The README requires Bluetooth, external accessory protocol, and background modes, and mentions the `MWDATCamera` package, device registration, and streaming. This means the integrated app may access Bluetooth peripherals and wearable-device data. From the documentation alone, there is no sign of broad local filesystem access or clearly excessive permissions, but the capability scope deserves attention.
The source is an open-source GitHub repository, which is a positive auditability signal. However, it has 0 stars, unknown maintenance status, and no declared license, indicating weak community adoption and governance metadata. There is no clear sign of closed-source exfiltration or overtly malicious behavior, so this does not justify a high-risk rating, but the repository and dependencies should be reviewed before adoption.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "getting-started" skill from askskill: 1. Download https://raw.githubusercontent.com/facebook/meta-wearables-dat-ios/main/plugins/mwdat-ios/skills/getting-started/SKILL.md 2. Save it as ~/.claude/skills/getting-started/SKILL.md 3. Reload skills and tell me it's ready
Guide me through integrating the Meta glasses SDK into a new iOS app using Swift Package Manager, and list the required Info.plist changes.
A step-by-step SDK installation guide, SPM setup instructions, and an Info.plist checklist.
I have finished installing the SDK. Give me a minimal working example in Swift that initializes the SDK and connects to my first pair of Meta glasses.
Copyable Swift sample code plus prerequisites and connection verification steps.
My app cannot connect to the device after integrating the Meta glasses SDK. Help me check common issues including Swift Package Manager, Info.plist permissions, and initialization order.
A troubleshooting checklist with likely causes and recommended fixes.
Set up the Meta Wearables Device Access Toolkit in an iOS app.
https://github.com/facebook/meta-wearables-dat-iosMWDATCore and MWDATCamera to your targetAdd these required entries to your Info.plist:
<!-- URL scheme for Meta AI callbacks -->
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleURLSchemes</key>
<array>
<string>myexampleapp</string>
</array>
</dict>
</array>
<!-- Allow the Meta AI companion app to callback -->
<!-- Add fb-viewapp to your app's Info.plist query-schemes allowlist. -->
<!-- External accessory protocol -->
<key>UISupportedExternalAccessoryProtocols</key>
<array>
<string>com.meta.ar.wearable</string>
</array>
<!-- Background modes -->
<key>UIBackgroundModes</key>
<array>
<string>bluetooth-peripheral</string>
<string>external-accessory</string>
</array>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Needed to connect to Meta Wearables</string>
<!-- DAT configuration -->
<key>MWDAT</key>
<dict>
<key>AppLinkURLScheme</key>
<string>myexampleapp://</string>
<key>MetaAppID</key>
<string>0</string>
</dict>
Replace myexampleapp with your app's URL scheme. Use 0 for MetaAppID during development with Developer Mode, and add fb-viewapp to your app's Info.plist query-schemes allowlist.
Call Wearables.configure() once at app launch:
import MWDATCore
@main
struct MyApp: App {
init() {
do {
try Wearables.configure()
} catch {
assertionFailure("Failed to configure Wearables SDK: \(error)")
}
}
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
Your app must handle the URL callback from Meta AI after registration:
.onOpenURL { url in
Task {
_ = try? await Wearables.shared.handleUrl(url)
}
}
func startRegistration() async throws {
try await Wearables.shared.startRegistration()
}
Observe registration state:
Task {
for await state in Wearables.shared.registrationStateStream() {
// Update UI based on registration state
}
}
import MWDATCore
import MWDATCamera
// Create a DeviceSession — device selection is configured here
let wearables = Wearables.shared
let deviceSelector = AutoDeviceSelector(wearables: wearables)
let deviceSession = try wearables.createSession(deviceSelector: deviceSelector)
try deviceSession.start()
// Wait for the device session to reach the started state
for await state in deviceSession.stateStream() {
if state == .started { break }
}
let config = StreamConfiguration(
videoCodec: .raw,
resolution: .low,
frameRate: 24
)
guard let stream = try deviceSession.addStream(config: config) else {
return
}
// Observe frames
let frameToken = stream.videoFramePublisher.listen { frame in
guard let image = frame.makeUIImage() else { return }
Task { @MainActor in
self.currentFrame = image
}
}
// Start the stream capability
Task { await stream.start() }
…
Identify common bugs, version conflicts, and state machine failures faster.
Guide app registration with Meta AI and camera permission request flows.
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.
Set up the Android SDK and connect to Meta glasses for the first time.
Test and validate glasses features without physical hardware using MockDeviceKit.
Helps developers set up Meta AI app registration and device permission flows.
Embed Zoom meetings and host or join flows in native macOS apps.
Embed Zoom meetings into iOS apps with auth, UI, and lifecycle support.
Search Garmin Connect IQ SDK docs offline for guides, references, and FAQs.