Widgets to quickly send an alert to a close contacts has been added.
The widget library's default 4x2 format is perfect for laying out the UI elements without compromising too much size.
The widget has a "lock screen" which displays error messages/last alert sent status from the widget. It will partially function as a user feedback system as well.
The widget can be activated after pressing the unlock element. This attempts to minimize accidental clicks on the homescreen.
The widget will post to Supabase using a session retained from login into the main app an alert on press. Due to limitations, we use the last known position of the user (see #10 for details).
In the future, we can attempt to start a Recording using the expo-av library to post to the Supabase server. This is theoretically possible as the code is run from the widget handler function itself.
Widgets to quickly send an alert to a close contacts has been added.