You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created #1861 to allow app developers to declare lock screen policy. However, the PR only supports API 27+. In addition, the PR only supports WARN at the moment. Meaning that, when the lock screen policy isn't met, the app developer provided PendingIntent will be invoked. App developers can follow the example in the demo app to ask users to set up a more secure lock screen.
Add lockscreen requirements in the SDK
https://developer.android.com/reference/android/app/KeyguardManager#isDeviceSecure()
Please note that this API is available from API level 23, and the SDK's min API level is 21. We can probably fall back to https://developer.android.com/reference/android/app/KeyguardManager#isKeyguardSecure() for API<23.
The text was updated successfully, but these errors were encountered: