How it works
Data synchronization
Sign in
The synchronization will be started after you signed in to Google. If you’re not signed in, you can see the icon on the header of the app and you can show the sign-in dialog by clicking the icon.
Also, the icon is shown when the app hasn’t confirmed your status of the sign-in, for example, you launched the app and waiting for the confirmation of the sign-in state, or your cookie to manage the sign-in state is expired, etc. If the icon is shown continuously, you can sign in again by clicking the icon too.
Sync from local to remote
When you input a message and click the send button (it’s labeled as the “save” button), the message will be stored in the local database on your web browser. If you’re already signed in to Google, this message will be sent to the remote database (Google Drive), and you can get this message on different devices.
But how about when you’re offline or not signed in? Even if you’re offline or not signed in, the local database also records which events are sent to the remote database or not, so these unsent events are automatically sent when you become online and be able to connect to the remote database.
There are timing to send unsent events:
- Click the “save” button on a new or existing message
- Reload the app
- Sign in to Google
Sync from remote to local
Also, your browser connects to the remote database to receive the remote data sent from different devices, and record which data is received from the remote database. But it also has the timing to check the remote database:
- Reload the app
- Sign in to Google
So if you notice there should be data sent from different devices, you can receive the data by reloading the app when you already signed in to Google.