github optimizely/swift-sdk v3.3.0
Release 3.3.0

latest releases: v3.10.5, v4.0.0, v3.10.4...
4 years ago

3.3.0

March 11, 2020

This release includes an enhancement of SDK initialization API to enable SDK updated on cached datafile change. It also fixes known bugs.

New Features

  • Add an option for synchronous initialization to enable SDK immediately updated when a new datafile is cached. Unless this feature is enabled, by default, the cached datafile will be used only when the SDK re-starts in the next session. Note that this option is for synchronous initialization only. (#297)

     // enable SDK update when a new datafile is cached
     optimizelyClient.start(datafile: data, doUpdateConfigOnNewDatafile: true)
     
     // by default, this feature is disabled
     optimizelyClient.start(datafile: data)
    

Bug Fixes

  • When a synchronously-initialized SDK enables background datafile polling and its datafile was changed in the server, the new datafile is cached but SDK is not dynamically updated. (#297)
  • When background datafile polling is enabled and app goes to background and comes back to foreground after some delays, datafile fetching is called multiple times back-to-back. (#301)
  • NotificationCenter can cause crashes when multiple threads add/call listeners simultaneously. (#304)

Don't miss a new swift-sdk release

NewReleases is sending notifications on new releases.