proximity_screen_lock_ios 2.0.1 proximity_screen_lock_ios: ^2.0.1 copied to clipboard
A iOS Flutter plugin that can be used to bind screen activation to proximity sensor
Proximity Screen Lock for iOS #
A Flutter plugin that can be used to bind screen activation to proximity sensor
To activate the behavior
if (ProximityLockScreen.isProximityLockSupported()) {
ProximityLockScreen.setActive(true)
}
ProximityLockScreen.isProximityLockAvailable()
will return false
on Android devices that do not provide a proximity sensor.
It will also return false
for non-mobile devices