Welcome to the Flagship iOS SDK documentation!

The following article will guide you through the steps to get Flagship up and running on your native iOS app using our client library with preconfigured methods to implement the the Flagship solution.

Wants to have a look at the GitHub repo? Link here.

Feel free to contact us if you have any questions regarding this documentation.

Release notes

Fixed

  • Bug fixes and secure code

Fixed

  • Bug fixes on access race

Fixed

  • Bug fixes on access race

Fixed

  • Bug fixes on Troubleshooting and Developer Usage hits

Fixed

  • Return the correct flag value from value() method when nil is given as default value

Added

  • The SDK contains now a troubleshooting mode which can be enabled by our teams when you experience any issues in order to gather logs and information for debugging purpose.
  • Developer Usage Tracking The SDK collects data to help us improve the product. Check Developer Usage Tracking for more information

Added

Added

  • New warnings logs when flags are out of date

Added

Changed

  • Deprecate userExposed(). Use visitorExposed() instead

Fixed

  • Correct typo "trackingManger" to "trackingManager" and "cacheManger" to "cacheManager"

3.1.0

Added

  • Tracking manager feature - Preventing from a data lost and bandwidth hogs by sending hit with a batching system. Config Tracking Manager
  • Flagship.close method
  • Page event used for web page in an embedded web view.

Changed

  • Interface IHitCacheImplementation

Added

  • visitor_consent key in body of the campaign request

Fixed

  • Upload the correct model name through the predefined context (sdk_modelName).

Fixed

Added

  • Further information on the docString of the authenticate method

Fixed

  • Update anonymousId on experience continuity when fetching flags

Changed

  • The Event value changed type from number to UInt (an unsigned integer value type).

Added

  • Compatibility with macOS and watchOS
  • New predefined context: OS_VERSION_NAME

Changed

  • The predefined context OSVERSION is now deprecate, use _OS_VERSION_CODE

Added

  • Visitor instance to manage the experiments and track events
  • FSFlag class to manipulate Flag
  • Supports the tvOS platform

Changed

  • SDK new architecture
  • Init the SDK with configuration options
  • synchronizeModification is now deprecated, use fetchFlags function through the visitor instance
  • getModification / getModificationInfo / activateModification are now obsolete and have been replaced by FSFlag class

Fixed

  • Priority for the oldest flag has been fixed

Added

  • Visitor consent management

Changed

  • Rename the constant timeout FS_TimeOutRequestApi to FSTimeoutRequestApi

Changed

  • Update podspec (cocoapods)

Added

  • Methods for experience continuity : authenticateVisitor and unAuthenticateVisitor
  • Method to get current visitor's context

Changed

  • Change Page hit for Screen hit.
  • interfaceName attribute removed for hits (Event, Transaction, Item) except Screen hit

Fixed

  • Remove header from api call to events and activate endpoints.

Added

  • isReference value in getModificationInfo function

Fixed

  • Targeting on lists

Fixed

  • Send activate event through getModification function for json and array

Added

  • New Start function with a mandatory parameter apiKey and optional Configuration
  • Remove all deprecated functions
  • Add customizable timeout when fetching campaigns under API Mode
  • The get modification function handle a complex object (json, array)

Fixed

  • Improve the MurMurHash algorithm

What’s Next