You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
The concept of Snapshots. They are for capturing the actual state of the feature flag data used by the SDK. A snapshot allows synchronous operations on the captured context.
final snapshot = client.snapshot();
final isMyFeatureEnabled = snapshot.getValue(key:'isMyFeatureEnabled', defaultValue:false);
New onClientReadyWithSnapshot hook that gets a ConfigCatClientSnapshot parameter. It's called the same time when onClientReady is called.
New error codes (EvaluationErrorCode and RefreshErrorCode) on EvaluationDetails and RefreshResult.
When an external cache is configured, the SDK continues to sync with it in offline mode.