growthbook / growthbook-swift

GrowthBook iOS (Swift) SDK
MIT License
13 stars 19 forks source link

Is there a way to implement a realtime feature listener? #57

Closed MohadKadib closed 6 months ago

MohadKadib commented 7 months ago

i want to be able to toggle a feature on/off for all users at once, currently iam using the refreshHandler call back in the GrowthBookBuilder initialiser to listen on changes, whenever it is called i use the isOn function on all my feature keys that i want, but after some minutes in a session, it stops sending call backs in refreshHandler, why is that and is there a way to implement what i need?

vazarkevych commented 7 months ago

Hi, @MohadKadib. We've identified an issue with backgroundSync and have resolved it. Please try installing the latest release, version 53, which includes this fix.