calm-dog-24239
03/01/2024, 4:20 PMbright-pharmacist-73946
03/01/2024, 5:45 PMlet growthBookSDK = GrowthBookBuilder(apiHost: "<https://cdn.growthbook.io>", clientKey: <client key defined in the connection>,
encryptionKey: <key defined in connection>,
attributes: <client attributes>,
trackingCallback: trackingCallback,
refreshHandler: refreshHandler,
backgroundSync: false).initializer()
After the refresh handler is called, I check the features I have defined ( I have two defined for the environment I am testing in) and the result I get back is :
po growthBookSDK?.getFeatures()
▿ Optional<Dictionary<String, Feature>>
- some : 0 elements
Yesterday when I posted I could change backgroundSync
to true
and get features back. Today, no features are returned regardless of `backgroundSync`state. I am not really sure what is happening at this point. I do notice that on the connection setup screen in the GrowthBook App, the Swift SDK Version says 1.0.44.bright-pharmacist-73946
03/01/2024, 6:14 PMbright-pharmacist-73946
03/01/2024, 6:20 PMGrowthBookBuilder(url:encryptionKey:trackingCallback:)
4. When I switch back to 1.0.44 everything works again.calm-dog-24239
03/01/2024, 7:19 PM