Releases: flagship-io/flagship-flutter-sdk
Releases · flagship-io/flagship-flutter-sdk
Flutter SDK 4.0.0
Changed
- The
Flag getFlag<T>(String key)
is the new signature for the getFlag method . - The
func value<T>(defaultValue:T?,visitorExposed: Bool = true)->T?
is the new signature for flag.value() method . - Signature
newVisitor
method builder changed toVisitorBuilder newVisitor({required String visitorId, required bool hasConsented, Instance instanceType = Instance.SINGLE_INSTANCE})
. hasConsented
parameter is mandatory on visitor creation instance.- Enum SDK status
FSSdkStatus
has replacedFStatus
. withStatusListener
renamed toonSdkStatusChanged
.
For further information, see migration code.
Added
- Flag status
- Visitor status
getFlags()
new method to get all flags in one collection asFSFlagCollection
FlagCollection
is a collection of flagMap<String, Flag>
For further information, see 4.0.0 reference.
Removed
Deprecated methods:
- synchronizeModifications
- getModification
- getModificationInfo
- activateModification
- userExposed
3.1.2
3.1.1
What's Changed
- Fix bug when the flag value is null by @ABTastyAdel in #42
Full Changelog: 3.1.0...3.1.1
3.1.0
3.0.4
add variation name
3.0.3
What's Changed
- add warning log for outdated flags by @ABTastyAdel in #38
Full Changelog: 3.0.2...3.0.3
3.0.2
fix type trackingMangerConfig to trackingManagerConfig
3.0.1
3.0.0
version 3 with tracking mangaer and cache
2.1.0
What's Changed
- Call bac user expose by @ABTastyAdel in #30
- Pre release expo by @ABTastyAdel in #31
Full Changelog: 2.0.1...2.1.0