Use https://wearables.developer.meta.com/docs/develop/dat/version-dependencies/, then use the Wearables MCP endpoint https://mcp.developer.meta.com/wearables to call search_dat_docs for current Device Access Toolkit version dependency guidance. Inspect my app SDK version, target devices, Meta AI app version, and glasses firmware assumptions first. Produce the smallest compatibility checklist that says whether the environment is compatible, what must be upgraded, and which local or device checks should pass before I debug app code.
DeviceSessionError case separately because they are not equally recoverable.| Error | What it means | What to do |
|---|---|---|
INSUFFICIENT_SDK_VERSION | The app uses an SDK version the glasses no longer support. | Terminal. Release a newer version of your app built with the current SDK. There is no in-session recovery. |
DWA_OUT_OF_STU_RANGE | The app and glasses are on versions outside the recommended compatibility range. | Not blocking. The session can continue, but behavior may be unexpected. Prompt the user to update occasionally rather than block the session. |
DAT_APP_ON_THE_GLASSES_UPDATE_REQUIRED | The Device Access Toolkit app integration on the glasses needs an update before the session can start. | Direct the user to the App Connections page in the Meta AI app to update it. Call openDATGlassesAppUpdate on Wearables to open that page. After the update, create and start a new session. |
DWA_UNAVAILABLE | The Device Access Toolkit app integration on the glasses did not become reachable after session start, typically because it failed to launch or is not installed. | Verify the glasses are set up in the Meta AI app before retrying. |
INSUFFICIENT_SDK_VERSION requires a new app build, and only DWA_OUT_OF_STU_RANGE lets the session proceed.openFirmwareUpdate on Wearables to open the firmware update screen in the Meta AI app.openDATGlassesAppUpdate and openFirmwareUpdate fail with a NavigationError if the Meta AI app isn’t installed or your app isn’t registered. Ask the user to install the Meta AI app, or register your app first.Wearables.handleIntent from both Activity.onCreate and Activity.onNewIntent before you handle your own intent actions. It invokes your callback only for registration intents and ignores everything else, so it is safe to call unconditionally.class MainActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Wearables.handleIntent(intent, ::onRegistrationRequest)
}
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
Wearables.handleIntent(intent, ::onRegistrationRequest)
}
private fun onRegistrationRequest(request: MWARegistrationRequest) {
// Optionally show confirmation or education first, then continue or cancel.
request.continueRegistration(this)
}
}
MWARegistrationRequest is single-use. continueRegistration resumes the existing Meta AI registration flow, and cancelRegistration returns control to Meta AI. Calling either a second time returns MWARegistrationRequestError.ALREADY_HANDLED.INVALID_REQUEST, CONFIGURATION_INVALID, REGISTRATION_FAILED, and CANCELLATION_FAILED.handleIntent and cannot participate in this flow.DeviceSessionError.CAPABILITY_DENIED. Handle this decline gracefully as an expected runtime outcome, rather than a hard failure.| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V292 |
Meta AI app (iOS) | V292 |
Ray-Ban Meta glasses | V128 |
Meta glasses | V128 |
Meta Ray-Ban Display glasses | V128 |
Oakley Meta HSTN glasses | V128 |
Oakley Meta Vanguard glasses | V128 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V290 |
Meta AI app (iOS) | V290 |
Ray-Ban Meta glasses | V128 |
Meta glasses | V128 |
Meta Ray-Ban Display glasses | V128 |
Oakley Meta HSTN glasses | V128 |
Oakley Meta Vanguard glasses | V128 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V282 |
Meta AI app (iOS) | V282 |
Ray-Ban Meta glasses | V126 |
Meta glasses | V126 |
Meta Ray-Ban Display glasses | V125 |
Oakley Meta HSTN glasses | V126 |
Oakley Meta Vanguard glasses | V126 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V275 |
Meta AI app (iOS) | V275 |
Ray-Ban Meta glasses | V125 |
Meta glasses | V125 |
Meta Ray-Ban Display glasses | V125 |
Oakley Meta HSTN glasses | V125 |
Oakley Meta Vanguard glasses | V125 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V272 |
Meta AI app (iOS) | V272 |
Ray-Ban Meta glasses | V125 |
Meta Ray-Ban Display glasses | V125 |
Oakley Meta HSTN glasses | V125 |
Oakley Meta Vanguard glasses | V125 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V254 |
Meta AI app (iOS) | V254 |
Ray-Ban Meta glasses | V22 |
Meta Ray-Ban Display glasses | V21 |
Oakley Meta HSTN glasses | V22 |
Oakley Meta Vanguard glasses | V22 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V254 |
Meta AI app (iOS) | V254 |
Ray-Ban Meta glasses | V22 |
Meta Ray-Ban Display glasses | V21 |
Oakley Meta HSTN glasses | V22 |
Oakley Meta Vanguard glasses | V22 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V254 |
Meta AI app (iOS) | V254 |
Ray-Ban Meta glasses | V20 |
Meta Ray-Ban Display glasses | V21 |
Oakley Meta HSTN glasses | V20 |
Oakley Meta Vanguard glasses | V22 |
| App/Firmware | Support |
|---|---|
Meta AI app (Android) | V249 |
Meta AI app (iOS) | V249 |
Ray-Ban Meta glasses | V20 |
Oakley Meta HSTN glasses | V20 |