airpods_motion_flutter 0.1.2
airpods_motion_flutter: ^0.1.2 copied to clipboard
Calibrated 6-DoF AirPods & Beats head-motion telemetry (CMHeadphoneMotionManager) for Flutter with live route detection, 1-Euro/EMA smoothing, and simulator replay.
0.1.2 #
- Cleaned up
README.mddocumentation.
0.1.1 #
- Added Apple privacy manifests (
PrivacyInfo.xcprivacy) for iOS and macOS (CocoaPods resource bundles and SPM resources) and replacedProcessInfo.processInfo.systemUptimewith hardware-synchronizedmotion.timestamp(ITMS-91053compliance). - Deduplicated CocoaPods and Swift Package Manager plugin sources by removing
ios/Classes/andmacos/Classes/and pointing both podspecs atairpods_motion_flutter/Sources/airpods_motion_flutter/. - Added CoreMotion authorization status reporting (
HeadphoneAuthorizationStatus,HeadphoneDevice.authorizationStatus,getAuthorizationStatus()) and runtime error forwarding (AirPodsMotionError,errorStream). - Added
±180°Euler angle wrap-around unwrapping to both native Swift (EMA &NativeOneEuroFilter) and pure-Dart (OneEuroFilter/OneEuroPoseFilter). - Switched native emission throttling to monotonic
motion.timestampdeltas instead of wall-clockDate(), and reportedsampleRateHz = 0when tracking is inactive. - Added
SimulatorFallbackMode(none,manual,syntheticLoop) while keepingautoFallbackToSimulatorbackwards-compatible, plusAirPodsMotionSimulator.calibrate(),resetCalibration(), andisCalibratedoffset subtraction. - Protected
AirPodsMotion.instance.dispose()from closing singleton broadcast streams and ensureddispose()stops native tracking on non-singleton instances.
0.1.0 #
- Initial release of
airpods_motion_flutter. - Added iOS 14+ and macOS 14+
CMHeadphoneMotionManagerplugin with CocoaPods and Swift Package Manager (SPM) support. - Added live
AVAudioSessionBluetooth route detection on iOS andCMHeadphoneMotionManagerDelegateconnect/disconnect events. - Added thread-safe native quaternion zero-point calibration (
calibrate()andresetCalibration()). - Added native signal conditioning (
none,ema, andoneEuroadaptive filtering) with configurablesampleRateHzthrottling (1..100Hz). - Added full 6-DoF
HeadphoneMotionSampletelemetry (pitchDeg,rollDeg,yawDeg,quaternion,rotationRate,userAcceleration,gravity,accelerationMagnitude,sensorLocation,isCalibrated,isSimulated,timestampMs). - Added pure-Dart
OneEuroFilterandOneEuroPoseFilterutilities. - Added
AirPodsMotionSimulatorwith single-frame injection, synthetic motion loop, and deterministic trace replay. - Added example application and comprehensive test suite.