syncEnabled property

bool syncEnabled
final

Master switch of activity sync and sharing.

When false, local activity changes still queue durably and are uploaded once a store is created with it enabled. Meanwhile ActivityStore.syncPending, ActivityStore.fetchRemoteActivities, ActivityStore.downloadActivityFile and ActivityStore.fetchSharedActivityByToken return GemError.notSupported and send no request. Profile sync does not depend on it.

Implementation

final bool syncEnabled;