flutter_meta_wearables_dat_mock_device 0.7.1 copy "flutter_meta_wearables_dat_mock_device: ^0.7.1" to clipboard
flutter_meta_wearables_dat_mock_device: ^0.7.1 copied to clipboard

Optional MockDeviceKit add-on for flutter_meta_wearables_dat — simulate Meta glasses using the phone's camera for development and testing. Omit in production.

0.7.1 #

  • Align version with core package's 0.7.1 release. No API changes.

0.7.0 #

  • Update to Meta Wearables DAT 0.8.0.
  • BREAKING: pairRayBanMeta()pairGlasses({GlassesModel model = GlassesModel.rayBanMeta}) and unpairRayBanMeta(uuid)unpairGlasses(uuid).
  • New GlassesModel enum to simulate any supported model: rayBanMeta, oakleyMetaHSTN, oakleyMetaVanguard, rayBanMetaOptics, metaGlasses.

0.6.1 #

  • Align version with core package's 0.6.1 release. No API changes.

0.6.0 #

  • Version aligned with the core package's 0.6.0 release (read-only getDevices()). No mock-add-on API changes.

0.5.3 #

  • Docs: clarify that setPermission / setPermissionRequestResult are iOS only — the Android mock SDK exposes no permission-injection hook, so they no-op there. Version aligned with the core package.

0.5.2 #

  • iOS: Add Swift Package Manager support alongside CocoaPods.

0.5.1 #

  • Prepare Android Gradle for Flutter's Built-in Kotlin migration.

0.5.0 #

  • Update to DAT SDK 0.7.0. Drop-in upgrade — no API changes.
  • Inherits DAT 0.7.0 fixes: fold/unfold-and-don/doff cycles now keep consistent device state on both platforms.
  • Captouch simulation (tap, tapAndHold) is new in DAT 0.7.0 but not yet exposed — flagged for a follow-up.

0.4.0 #

  • Initial release. Extracted from flutter_meta_wearables_dat 0.3.x to keep MockDeviceKit (and its AVFoundation / Camera linkage) out of production apps.

Migration from flutter_meta_wearables_dat 0.3.x #

Mock device APIs moved to this package and were renamed (the Mock* prefix on each method is now redundant given the namespace):

Before After
MetaWearablesDat.configureMockDevices(...) MetaWearablesDatMockDevice.configure(...)
MetaWearablesDat.disableMockDevices() MetaWearablesDatMockDevice.disable()
MetaWearablesDat.pairMockRayBanMeta() MetaWearablesDatMockDevice.pairRayBanMeta()
MetaWearablesDat.unpairMockRayBanMeta(uuid) MetaWearablesDatMockDevice.unpairRayBanMeta(uuid)
MetaWearablesDat.setMockPermission(p, s) MetaWearablesDatMockDevice.setPermission(p, s)
MetaWearablesDat.setMockPermissionRequestResult(p, s) MetaWearablesDatMockDevice.setPermissionRequestResult(p, s)
MetaWearablesDat.mockDevicePowerOn(uuid) MetaWearablesDatMockDevice.powerOn(uuid)
MetaWearablesDat.mockDevicePowerOff(uuid) MetaWearablesDatMockDevice.powerOff(uuid)
MetaWearablesDat.mockDeviceDon(uuid) MetaWearablesDatMockDevice.don(uuid)
MetaWearablesDat.mockDeviceDoff(uuid) MetaWearablesDatMockDevice.doff(uuid)
MetaWearablesDat.setMockCameraFeed(uuid, path) MetaWearablesDatMockDevice.setCameraFeed(uuid, path)
MetaWearablesDat.setMockCameraFacing(uuid, f) MetaWearablesDatMockDevice.setCameraFacing(uuid, f)
MetaWearablesDat.setMockCapturedImage(uuid, path) MetaWearablesDatMockDevice.setCapturedImage(uuid, path)

The Permission, PermissionStatus, and CameraFacing enums also moved here.

1
likes
160
points
591
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Optional MockDeviceKit add-on for flutter_meta_wearables_dat — simulate Meta glasses using the phone's camera for development and testing. Omit in production.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_meta_wearables_dat_mock_device

Packages that implement flutter_meta_wearables_dat_mock_device