Changed
- The
func getFlag(key:String)->FSFlag
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 tofunc newVisitor(visitorId: String, hasConsented: Bool, instanceType: Instance = .SHARED_INSTANCE) -> FSVisitorBuilder
. hasConsented
parameter is mandatory on visitor creation instance.- Enum SDK status
FSSdkStatus
has replacedFStatus
. withStatusListener
renamed towithOnSdkStatusChanged
.
For further information, see migration code.
Added
- Flag status
- Visitor status
getFlags
new method to get all flags in one collection asFSFlagCollection
FSFlagCollection
collection of[String:FSFlag]
For further information, see 4.0.0 reference.
Removed
Deprecated methods:
- getModification
- getModificationInfo
- activateModification
- userExposed