launchdarkly / flutter-client-sdk

LaunchDarkly Client-side SDK for Flutter mobile applications
Other
15 stars 17 forks source link

Update LunchDarkly Value #52

Closed tazik561 closed 1 year ago

tazik561 commented 1 year ago

Is it possible to make an update feature flag? As an example I have a FF with a true value, Is it possible to make it false?

tanderson-ld commented 1 year ago

@tazik561 , could you elaborate more? The most common use case of Feature Flags is to be able to update them to change their values. Here are some relevant docs.

tazik561 commented 1 year ago

@tazik561 , could you elaborate more? The most common use case of Feature Flags is to be able to update them to change their values. Here are some relevant docs.

Is it possible to do that by LDClient or I have to use API? https://www.postman.com/api-evangelist/workspace/launchdarkly/request/35240-e7e4da3e-1962-46ee-893e-76ba5d78df10

tanderson-ld commented 1 year ago

The hello-flutter repo shows how to evaluate a feature flag through the LDClient class and how to receive asynchronous flag changes.

tazik561 commented 1 year ago

The hello-flutter repo shows how to evaluate a feature flag through the LDClient class and how to receive asynchronous flag changes.

I mean I want to make the feature flag off or on, No, receive flag changes, or evaluate a feature flag . Imagine I have a FF with a false value, I want to make it off by LDClient from mobile application.

tanderson-ld commented 1 year ago

Oh I see. No there is no way to affect the flag rules on the cloud from the client side SDK.

tazik561 commented 1 year ago

Oh I see. No there is no way to affect the flag rules on the cloud from the client side SDK.

So I have to use open API. Thanks