Skip to content

Add support for Wearables DAT v0.8.0#15

Merged
gdelataillade merged 6 commits into
mainfrom
dat-0.8.0
Jun 26, 2026
Merged

Add support for Wearables DAT v0.8.0#15
gdelataillade merged 6 commits into
mainfrom
dat-0.8.0

Conversation

@gdelataillade

Copy link
Copy Markdown
Collaborator

No description provided.

gdelataillade and others added 6 commits June 26, 2026 13:27
Update both plugins to Meta Wearables DAT 0.8.0 and bump to 0.7.0.

Mock add-on (breaking):
- Replace pairRaybanMeta()/MockRaybanMeta/MockDisplaylessGlasses with
  pairGlasses(GlassesModel)/MockGlasses across native (iOS+Android) and Dart.
- Add GlassesModel enum (Ray-Ban Meta, Oakley Meta HSTN/Vanguard,
  Ray-Ban Meta Optics, Meta Glasses); rename unpairRayBanMeta -> unpairGlasses.
- Example: glasses-model picker in the mock-device sheet.

Core:
- Add metaGlasses device type (iOS + Android maps, WearableDeviceType.metaGlasses).
- Android: map the new StreamState.PAUSED -> 5 (when is exhaustive, no else).
- iOS: Stream.start()/stop() are now synchronous (drop await).
- capturePhoto: iOS enforces a client-side timeout so the Dart Future never
  hangs on an accepted-but-undelivered capture; documented the cross-platform
  CAPTURE_PHOTO_FAILED/details error contract.
- Registration/unregistration: handle the new .timeout case + unified
  DatError .description messages.

Example flow fix:
- Re-resolve the SDK active-device selector on relaunch-while-registered
  (restartActiveDeviceMonitoring), so a second/standby pair is picked up
  automatically instead of being stuck behind "Waiting for an active device".

Versions/tests/docs:
- mwdat_version 0.8.0 (core+mock); 0.7.0 in both pubspecs + both podspecs;
  refreshed example lockfiles.
- Tests: metaGlasses fromCode coverage; new mock method-channel test for
  pairGlasses/unpairGlasses names + model payloads.
- Updated CHANGELOGs (with migration table), READMEs, AGENTS.md, agent
  skills/cursor/copilot, llms.txt, CLAUDE.md, and doc/ios staleness headers.
- gitignore the mock add-on's build/ artifacts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The versioned dependency snippets still pinned pre-0.7 caret ranges
(^0.6.0 / ^0.5.2). Caret constraints below 1.0.0 don't cross the next
minor, so anyone copying them would resolve <0.7.0 and the documented
pairGlasses() API would fail to compile. Update README, mock README,
AGENTS.md, and the claude/cursor/copilot agent docs to ^0.7.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gdelataillade gdelataillade merged commit 2c583ea into main Jun 26, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant