screen_aware 1.0.0
screen_aware: ^1.0.0 copied to clipboard
A plugin that uses the device front-facing camera (with user permission) to perform a simple, privacy-conscious check for user presence. It dont do facial recognition, just detect if a face is present [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-10-16 #
Added #
- Initial release of Screen Aware plugin
- Real-time face presence detection using device's front camera
- On-device processing with ML Kit (Android) and Vision Framework (iOS)
- Configurable sensitivity parameter (0.0 to 1.0)
- Battery-optimized frame processing
- Support for Android API 21+ and iOS 11.0+
- Privacy-first design with no data transmission
- Complete API documentation
- Example app demonstrating plugin usage
Features #
initialize()- Start face detection with custom sensitivitydispose()- Stop detection and release resourceshasPermission()- Check camera permission statusrequestPermission()- Request camera permission (iOS only)isRunning()- Check if detection is activefacePresenceStream- Stream of face presence events
Platform Support #
- Android: Using Google ML Kit Vision API
- iOS: Using Apple Vision Framework