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

  1. Application must have a Google Cloud Client ID
  2. Acquire Google authorization token using

Workflow

The workflow can be break down into setup, enable, sync, and error handling.

Setup

Enable

Sync

Error Handling

Libraries

lazy_g_sync
Support for doing something awesome.