Last updated:
0 purchases
proximity screen lock
Proximity Screen Lock #
A Flutter plugin that can be used to bind screen activation to proximity sensor
Usage #
To activate the behavior
if (ProximityLockScreen.isProximityLockSupported()) {
ProximityLockScreen.setActive(true)
}
copied to clipboard
Availability #
ProximityLockScreen.isProximityLockAvailable() will return false on Android devices that do not provide a proximity sensor.
It will also return false for non-mobile devices
iOS
Android
Others
isProximityLockAvailable
true
true or false
false
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.