OptimizelyConfigUpdate notification listener
Subscribe to the OptimizelyConfigUpdate notification listener to find out when the Feature Experimentation SDK's config manager has fetched an updated datafiledatafile. You can use the notification to re-evaluate some or all of your flag rules to ensure that updates are reflected as as possible. The notification listener triggers on any datafile update. Datafile updates take place when there are any changes to the configuration or entities in the datafile's environment. For information, see Get the datafileGet the datafile.
Parameters
When the listener is triggered, the information provided is the output of Get Optimizely Config. For information, see the following SDK documentation on OptimizelyConfig.
- Android SDKAndroid SDK
- C# SDKC# SDK
- Flutter SDKFlutter SDK
- Go SDKGo SDK
- Java SDKJava SDK
- JavaScript SDKJavaScript SDK – SDK versions 6.0.0 and later.
- JavaScript (Browser) SDKJavaScript (Browser) SDK – SDK versions 5.3.5 and earlier.
- JavaScript (Node) SDKJavaScript (Node) SDK – SDK versions 5.3.5 and earlier.
- PHP SDKPHP SDK
- React SDKReact SDK
- React Native SDKReact Native SDK
- Ruby SDKRuby SDK
- Python SDKPython SDK
- Swift SDKSwift SDK
Examples
For code examples, see the following SDK documentation about notification listeners:
- Android SDKAndroid SDK
- C# SDKC# SDK
- Flutter SDKFlutter SDK
- Go SDKGo SDK
- Java SDKJava SDK
- JavaScript SDKJavaScript SDK – SDK versions 6.0.0 and later.
- JavaScript (Browser) SDKJavaScript (Browser) SDK – SDK versions 5.3.5 and earlier.
- JavaScript (Node) SDKJavaScript (Node) SDK – SDK versions 5.3.5 and earlier.
- PHP SDKPHP SDK
- React SDKReact SDK
- React Native SDKReact Native SDK
- Ruby SDKRuby SDK
- Python SDKPython SDK
- Swift SDKSwift SDK