by Patrick Corgan
𝘉𝘺 𝘗𝘢𝘵𝘳𝘪𝘤𝘬 𝘊𝘰𝘳𝘨𝘢𝘯
This flow will log device unlock/lock and app usage events. On an unlock attempt, the flow will log the time (both as a timestamp and an easy to understand format), the result ("SUCCESS" or "FAIL"), and a front facing picture (in case you don't have one of the 32,768 flows that take a pic on unlock attempts). The same info is logged when the device locks, except the result is always "LOCK", and there's no picture.
App usage is also logged. Whenever an app or activity comes to the front, the app name, app package, activity name, and activity class are all logged, along with the time as above (no picture; you're welcome).
All events are logged in a SQL database stored, along with the pictures, in a subdirectory "logs/" of the directory returned by the 'storage("documents")' function. This flow comes with some samples for reading the DB; you can write more of your own, or you can use a small, free SQL editor from the Play Store:
No attempt is made to hide, disguise, or otherwise obfuscate the data files; if you're super-paranoid or looking for a serious security solution, this flow ain't for you.
Requires premium with the examples, but just the logging portion would be non-premium.
⚡𝘊𝘰𝘯𝘴𝘵𝘳𝘶𝘤𝘵𝘪𝘷𝘦 𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴 𝘢𝘯𝘥 𝘤𝘳𝘪𝘵𝘪𝘤𝘪𝘴𝘮𝘴 𝘢𝘳𝘦 𝘢𝘭𝘸𝘢𝘺𝘴 𝘸𝘦𝘭𝘤𝘰𝘮𝘦. 𝘛𝘩𝘢𝘯𝘬 𝘺𝘰𝘶!⚡
Rate and review within the app in the Community section.