ActivityStoreConfig constructor
Creates an ActivityStoreConfig.
Parameters
localStorePath: Absolute path of the local SQLite store, the offline system of record.logsDir: Absolute path of the recorded logs folder; device paths of files under it are stored relative to it.supabaseUrl: The backend project URL, such ashttps://xxxx.supabase.co.supabaseAnonKey: The backend public API key.storageBucketName: The storage bucket of the activity files, such asactivities.shareWebBaseUrl: The base of the share links, such ashttps://example.com/activity/; the share token is appended to it. When empty, the share links point to the backend preview function.syncEnabled: Master switch of activity sync and sharing: activity uploads, fetches and shared activity resolves. Profile sync is not affected. Defaults to false.
Implementation
const ActivityStoreConfig({
required this.localStorePath,
required this.logsDir,
this.supabaseUrl = '',
this.supabaseAnonKey = '',
this.storageBucketName = '',
this.shareWebBaseUrl = '',
this.syncEnabled = false,
});