This message was deleted.
# announcements
w
This message was deleted.
f
b
understood, but then repo maintains its own feature set and context maintains its own feature set which are different. So I should manually update the context feature by using the featureRefreshCallback? or else I'll never know when the poll ends and features are always stale. I think this should be automatically handled by the SDK itself
f
Is this for Android or server-side Java? For server-side, we recommend creating a new Context for every incoming request. The context has targeting attributes unique to the request/user so this approach keeps the code much simpler. When the feature repository updates, any new Context objects created after that point will pick up the new features. You likely don't want feature values to change half way through a single HTTP request anyway.
171 Views