gazepoint_sdk 3.0.4
gazepoint_sdk: ^3.0.4 copied to clipboard
Advanced cross-platform eye tracking and gaze detection for Flutter. Supports Android, iOS, Web, Windows, macOS, and Linux with real-time performance.
3.0.4 #
- Wrap native
GazeCameraon Android (JitPack2.2.0), iOS (source snapshot), and macOS (source snapshot). Preview, white face boxes, and multi-face status live in the native SDKs. - macOS plugin minimum is 13.0 (Ventura), matching GazePointSDK-macOS. Example
MACOSX_DEPLOYMENT_TARGETis 13.0. - Depend on JitPack
GazePointSDK-Android:2.2.0(GazeCamera). Tag2.1.0never built on JitPack (Error); 3.0.3 cannot resolve Android. - Example app
compileSdk = 37(plugin requires 37; Flutter's default was 36). - Example Gradle repositories include
https://jitpack.io. - Pin the plugin Kotlin
jvmTargetto 17 so it matches Java 17 (AGP 9 / JDK 25 otherwise compiles Kotlin as 25 and the Android example fails). startTracking()requests camera permission when it is missing. The example Start button does the same and explains how to enable Camera if the user denied the prompt.- Put iOS Swift sources inside
ios/gazepoint_sdk/Sources/gazepoint_sdkso Swift Package Manager can resolve the plugin (Flutter 3.44+).path: "../Classes"is outside the package root and Xcode rejects it. - Example iOS
IPHONEOS_DEPLOYMENT_TARGETis 16.0 on the Runner target and inios/Flutter/*.xcconfig. Project-level 16.0 is not enough: Flutter still generatesFlutterGeneratedPluginSwiftPackageat 13.0 until it reads the app target (flutter build ios --config-only). - Create
GazeCameraon the main actor from the iOS/macOS plugins (GazeCamera.create()) so Swift 6 can build the example. - Example iOS
Info.plistadvertises_dartVmService._tcpand asks for Local Network so wireless debug can attach. Without that,flutter run -d ioson Wi‑Fi stays on a white launch screen until the Dart VM Service times out. - Decode iOS/macOS event-channel maps (
Map<Object?, Object?>) so gaze results are not dropped. NestedheadPosecannot be cast toMap<String, dynamic>with a shallow copy. The same decoder is what Windows/Linux will use once those plugins exist.
3.0.3 #
- Stop tracking
pana-report.jsonsodart pub publishis not blocked by a gitignored file. - Restore the working tree after Pana in CI so publish dry-run sees a clean checkout.
3.0.2 #
- Format
gazepoint_sdk_method_channel.dartso Pana static analysis is 50/50 (160/160 overall). - Document implicit constructors on
GazeTrackerandMethodChannelGazepointSdk. - Consume the published Android SDK from JitPack (
GazePointSDK-Android:2.1.0) instead of vendoring Kotlin sources. An Android-only release no longer requires copying files into this plugin. - iOS still ships a source snapshot under
ios/Classes/GazePointSDKso CocoaPods apps keep working; releasing GazePointSDK-iOS does not change this plugin until that snapshot is updated. - Add plugin-local publish/Pana workflows and a Flutter issue template.
3.0.1 #
Quality Improvements #
- Perfect Pana Score: Achieved 160/160 points on pub.dev analysis
- Added Swift Package Manager support for iOS and macOS
- Updated to built-in Kotlin support (removed legacy configuration)
- Added comprehensive dartdoc comments to all constructors
- Code formatting and linting improvements
Technical Changes #
- Added
ios/gazepoint_sdk/Package.swiftfor SPM support - Added
macos/gazepoint_sdk/Package.swiftfor SPM support - Removed legacy Kotlin Gradle Plugin configuration
- Enhanced API documentation coverage to 95.1%
3.0.0 #
Major Release: Universal Platform Support 🎉
- New Platforms:
- ✅ Web support with MediaPipe Face Mesh and TensorFlow.js
- ✅ Windows support with Windows.Media.FaceAnalysis and ML.NET
- ✅ macOS support with Vision Framework and AVFoundation
- ✅ Linux support with OpenCV, dlib, and V4L2
- Enhanced Documentation:
- Comprehensive README with all platforms
- Platform-specific setup guides
- Complete API reference documentation
- Troubleshooting section for all platforms
- Performance optimization tips
- Architecture:
- Unified API across all 6 platforms (Android, iOS, Web, Windows, macOS, Linux)
- Native SDK implementations for each platform
- Platform channels for seamless integration
- Consistent 30 FPS performance target
- Features:
- Real-time gaze tracking (30 FPS, <100ms latency)
- Blink detection across all platforms
- Head pose estimation (pitch, yaw, roll)
- Kalman filtering for smooth tracking
- Multi-point calibration (3, 5, or 9 points)
- Performance monitoring and metrics
- Examples:
- Updated Flutter example with multi-platform support
- Platform-specific examples in main repository
- Comprehensive usage documentation
- Breaking Changes:
- Expanded platform support requires Flutter 3.38.4+
- Some platform-specific behaviors may differ slightly
- Calibration API remains compatible
2.1.0 #
- Improve pub.dev package score (PR #3):
- Document 100% of public API symbols (library docs,
GazeResult,GazeCalibrationPoint) - Add complete plugin
example/app with README and usage demo - Add iOS Swift Package Manager support (
ios/Package.swift) - Migrate Android toward Flutter built-in Kotlin support
- Document 100% of public API symbols (library docs,
- Align multi-platform release versioning with umbrella tag
v2.1.0
2.0.0 #
- Initial public release of the Flutter GazePoint plugin.
- Android + iOS platform channels with stream-based gaze updates.
- Camera permission helper, start/stop tracking, and multi-point calibration API.
- Wraps native GazePoint SDKs (ML Kit on Android, Vision on iOS).