OptimizelyConfig update notification listener
This topic describes the OPTIMIZELYCONFIGUPDATE notification listener, which you can use to discover when the SDK's config manager has fetched an updated datafile.
Description
Subscribe to the OPTIMIZELYCONFIGUPDATE notification listener to find out when the SDK's config manager has fetched an updated datafile.
You can use the notification to reevaluate some or all of your flags and experiments to ensure that updates are reflected as quickly as possible. The notification listener triggers on any datafile update (except for SDK initialization). Datafile updates take place when there are any changes to the configuration or entities in the datafile's environment.
This will update the cached version of the datafile and update the current SDK configuration.
For more information, see Manage the datafile.
Parameters
When the listener is triggered, the information provided is the output of Get Optimizely Config. For more information, see the OptimizelyConfig topic in your SDK language.
Examples
For example code, see the notification listener topic in your SDK language.
Updated over 1 year ago