lazy_g_sync 2.1.1 lazy_g_sync: ^2.1.1 copied to clipboard
Sync single file content in Google Drive `appData` space.
GSync is created for syncing app data using Google Drive appdata space.
Require Google authorization token with scope 'https://www.googleapis.com/auth/drive.appdata'.
lazy.GDrive for Google Drive access.
Feature #
Support
- manual sync
- auto(periodic) sync
- trigger sync via ValueNotifier
- force download
- force upload
Install #
flutter pub add lazy_g_sync
Prerequisite #
To access Google Drive appdata space
- Application must have a Google Cloud Client ID
- Acquire Google authorization token using
- lazy.SignIn
- GoogleSignIn
- other means to support Google Identity authentication and authorization
Workflow #
The workflow can be break down into setup, enable, sync, and error handling.