SaltlessLemons
Sep 26, 2017 - 06:20
Okay, I've built a TOTP key widget and it works perfectly. There's one glaring problem, and that is that it works while the phone is locked, so anyone can just swipe and see all the keys. Is there any way for the widget to know if the phone is locked or not?
I'd like for it to work if the phone is unlocked, but not necessarily off the lock screen. Similar to how the widget for the Files app works.