optimizely / android-sdk

Android SDK for Optimizely Feature Experimentation and Optimizely Full Stack (legacy)
https://docs.developers.optimizely.com/experimentation/v4.0.0-full-stack/docs/android-sdk
Apache License 2.0
55 stars 39 forks source link

List all Flags available #425

Closed grmaciel closed 2 years ago

grmaciel commented 2 years ago

Hello, i have seen is only possible to get the list of flags that are enabled. I would like to be able to know if a given flag is within the flags that have been set. Currently if the flag doesn't exist it just returns false.

Is there a way within the SDK for me to check if a flag exists remotely? I have seen from the REST api that there's an endpoint that provides all of the flags but couldn't find on the SDK.

Thanks,

grmaciel commented 2 years ago

projectConfig within the client has what i need, closing.

jaeopt commented 2 years ago

@grmaciel ProjectConfig is not for public access. We recommend to use OptimizelyConfig to access public config info. Details are in this doc page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-android