Warn user that they are offline

I have an app that uses automatic updates and allows offline usage.  One issue that I am having is users turning the phone app off after submittal, but before the data has synced with the Google Sheet.  I was wondering if there is a way to notify the user that, even though they just submitted, they are offline and should leave the app on until the data sync.  Is there a way to do this?

0 1 117
1 REPLY 1

This is just an idea. 

Since I cannot think of any ways to 'warn' the user about their offline status or data not saved, you can provide a screen that notifies the use that the data has been saved.

Create a 'message' table with USEREMAIL() as its key and a [message] text field. Also set the Security filter so the user can see their own row.

Create an action that updates [message] with INPUT().

On the main table that the user is changing

Set the Finish View of the Form to a detail view of the 'message' table

Create a bot which is triggered by an add/update of the main table.

call the message update action on the message table with whatever INPUT you want to send.

This way, when the user saves data on the main table, the screen navigates to the message detail view, and only when the bot finishes updating the message table, which requires that the user stays online,  the message that the bot sends appears on the screen.

If you find this promising, test it well before you implement it. It works as intended in my test environment.

Top Labels in this Space