ConfigCat SDK for Dart (Flutter). ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
MIT License
Bot releases are hidden (Show)
Published by novalisdenahi 7 months ago
Changed
SettingsValue
to correct SettingValue
getKeyAndValue
missing exceptionPublished by z4kn4fein 8 months ago
WEB
platform support.WEB
platform, the SDK now sends the ETag and the SDK-related info in query parameters.Published by novalisdenahi 8 months ago
ConfigCatUser
constructor custom
parameter type to Map<String, Object> to allow other values than string.matchedEvaluationRule
property to matchedTargetingRule
and the matchedEvaluationPercentageRule
property to matchedPercentageOption
in EvaluationDetails
.Config
modelPublished by z4kn4fein about 1 year ago
getVariationId()
/ getAllVariationIds()
methods. Alternative: getValueDetails()
/ getAllValueDetails()
Published by z4kn4fein over 1 year ago
logger
package dependency. Switched to simple print()
as default.Published by z4kn4fein over 1 year ago
dio v5.2.0
in order to use DioException
instead of the deprecated DioError
.Published by z4kn4fein over 1 year ago
>=2.19.0
.Published by z4kn4fein almost 2 years ago
getAllValueDetails()
method.getVariationId()
and getAllVariationIds()
methods in favor of getValueDetails()
and getAllValueDetails()
.Published by z4kn4fein about 2 years ago
mode
configuration option to pollingMode
.Published by z4kn4fein about 2 years ago
Published by z4kn4fein about 2 years ago
offline
configuration option.Published by z4kn4fein about 2 years ago
RolloutPercentageItem
-> PercentageRule
user
field of EvaluationDetails
in case of errors.Published by z4kn4fein about 2 years ago
Future.delayed
.Published by z4kn4fein about 2 years ago
Published by z4kn4fein about 2 years ago
setDefaultUser(user)
/ clearDefaultUser()
methods to set / remove a default user object used when there's no user passed to getValue()
/ getValueDetails()
/ getAllValues()
/ getAllVariationIds()
methods.setOffline()
/ setOnline()
methods to indicate whether the SDK is allowed to make HTTP calls or not. In 'offline' mode the SDK works from the cache only.onClientReady()
/ onConfigChanged(Map<string, Setting>)
/ onFlagEvaluated(EvaluationDetails)
/ onError(String)
hooks. Subscription is possible on client initialization options and on the hooks
property of ConfigCatClient
.getValueDetails()
method to retrieve evaluation details along with the feature flag / setting value. It returns the same details that is passed to onFlagEvaluated(EvaluationDetails)
on each evaluation.close()
method was split to an instance level close()
method which closes the given ConfigCatClient
and to a static closeAll()
method which closes all instantiated client instances.forceRefresh()
method now returns with a result object that indicates whether the refresh succeeded or not.lazyLoad
and interval of autoPoll
is compared against a cached fetchTime
, which allows the SDK not necessarily download a new config.json
at each application restart.onConfigChanged()
hook parameter of PollingModes.autoPoll()
. It was replaced by the newly introduced onConfigChanged(Map<string, Setting>)
hook function which is invoked with each polling mode.Published by z4kn4fein about 2 years ago
Published by z4kn4fein about 2 years ago
Published by z4kn4fein about 2 years ago
dataGovernance
parameter wasn't in match with the remote setting, it could have happened that the fetcher downloaded the correct config.json
multiple times.Published by z4kn4fein over 2 years ago