ConfigCat SDK for Kotlin Multiplatform. 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.
Added platform specific default cache implementations:
Android: based on SharedPreferences. It has a dependency on android.content.Context, so it won't be enabled by default, but it can be set explicitly by the user by providing an appropriate Context.
iOS/macOS/tvOS/watchOS: based on NSUserDefaults.
JS (browser only): based on localStorage.
Added getAllValueDetails() method.
Deprecated getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails().
Related issues (only if applicable)
n/a
Requirement checklist (only if applicable)
[x] I have covered the applied changes with automated tests.
[x] I have executed the full automated test set against my changes.
[x] I have validated my changes against all supported platform versions.
Describe the purpose of your pull request
SharedPreferences
. It has a dependency onandroid.content.Context
, so it won't be enabled by default, but it can be set explicitly by the user by providing an appropriateContext
.NSUserDefaults
.localStorage
.getAllValueDetails()
method.getVariationId()
andgetAllVariationIds()
methods in favor ofgetValueDetails()
andgetAllValueDetails()
.Related issues (only if applicable)
n/a
Requirement checklist (only if applicable)