Add support for Wearables DAT v0.8.0#15
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.