Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@ABTastyAdel ABTastyAdel released this 09 Jul 08:19
5d859ad

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 to func newVisitor(visitorId: String, hasConsented: Bool, instanceType: Instance = .SHARED_INSTANCE) -> FSVisitorBuilder .
  • hasConsented parameter is mandatory on visitor creation instance.
  • Enum SDK status FSSdkStatus has replaced FStatus .
  • withStatusListener renamed to withOnSdkStatusChanged .

For further information, see migration code.

Added

  • Flag status
  • Visitor status
  • getFlags new method to get all flags in one collection as FSFlagCollection
  • FSFlagCollection collection of [String:FSFlag]
    For further information, see 4.0.0 reference.

Removed

Deprecated methods:

- getModification
- getModificationInfo 
- activateModification
- userExposed