by Riccardo Rigamondi
A simple but working anti-theft flow. No premium required
Whenever the unlock is failed, it snaps two photos, a high quality and a low quality, of the perpetrator and sends it to your Google Drive and Mail along with a text file that features the geo coordinates and attempted address.
Don't worry if cellular data and geolocalization are turned off, the flow will turn them back on.
If you fail to unlock your device by mistake it deletes the photos without sending them, as long as you log in in 3 seconds.
🌚 PLEASE NOTE:
In order for this flow to work, you have to create a FailedUnlocks folder in your DCIM folder, and place a Failed Unlocks.txt file in it. Also please connect your Google account in the Google Drive blocks, and set your email preferences.
Added a catch block in case you can't connect to your camera right away because of the system face unlock. Saves many headaches (it does for me at least)
Added a 5sec video recording too