You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're not sure whether your problem is specifically related to this repository, or to the ConfigCat service overall, please contact the ConfigCat support. This issue tracker is intended only for feedback on the content of this repository.
Describe the bug
When trying to use the onConfigChanged callback, the Settings class is not available.
To reproduce
Use this code options.hooks().addOnConfigChanged(stringSettingMap -> stringSettingMap.get("bla"));
or this client.getHooks().addOnConfigChanged((stringSettingMap) -> stringSettingsMap.get("bla"));
The Compiler failes with: 'com.configcat.Setting' is not public in 'com.configcat'. Cannot be accessed from outside package
If you're not sure whether your problem is specifically related to this repository, or to the ConfigCat service overall, please contact the ConfigCat support. This issue tracker is intended only for feedback on the content of this repository.
Describe the bug
When trying to use the onConfigChanged callback, the Settings class is not available.
To reproduce
Use this code
options.hooks().addOnConfigChanged(stringSettingMap -> stringSettingMap.get("bla"));
or this
client.getHooks().addOnConfigChanged((stringSettingMap) -> stringSettingsMap.get("bla"));
The Compiler failes with: 'com.configcat.Setting' is not public in 'com.configcat'. Cannot be accessed from outside package
Expected behavior
On Config Changed can be used.
Screenshots
SDK version
8.0.2
SDK configuration
onfigCatClient.get(this.configCatApiKey, (options -> { options.pollingMode(PollingModes.autoPoll(10)); options.hooks().addOnConfigChanged(stringSettingMap -> stringSettingMap.get("bla")); }));
Logs
If applicable, add the related SDK's log output here.
Language/Framework version
Java-SDK
Platform
macOS Ventura
The text was updated successfully, but these errors were encountered: