growthbook / growthbook-swift

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

Fix GET requests: errorResult not executed #74

Closed levochkaa closed 3 months ago

levochkaa commented 3 months ago

In our app refreshHandler is never called with false, probably because network requests don't return error's.

Also, I've got a question, why refreshHandler is called only with Bool, and not SDKError? for example? It would be useful to know why featuresFetchFailed has failed. I swear I've seen a PR fixing this, but wasn't able to find it now, I can make one, are you interested in that?