Questions tagged [launchdarkly]

LaunchDarkly is a SaaS feature management platform. This tag should be used on PROGRAMMING QUESTIONS related to the LaunchDarkly platform. NON-PROGRAMMING QUESTIONS ABOUT LAUNCHDARKLY ARE OFF-TOPIC.

LaunchDarkly is a feature management platform which can be used to control feature lifecycles. The platform has server-side, client-side and mobile SDKs, including .NET, PHP, Python, Node.js, Java, JavaScript, Ruby/Rails, Go, iOS, and Android.

LaunchDarkly can do canary launches, infrastructure migrations, test in production, and user entitlements.

49 questions
1
vote
0 answers

When using the Angular APP_Initializer to initialize a service, how can I use a value from another service inside the service being initialised?

I am integrating a feature toggle service called launch darkly into my Angular application. I followed the guidance here: https://launchdarkly.com/blog/integrating-feature-flags-in-angular-v4/ However I noticed that on occasion my application would…
tripack91
  • 31
  • 5
1
vote
2 answers

Using Launch darkly 3.0.1 i am getting error while initializing the app

I am trying migrate to launchdarkly-react-client-sdk 3.0.1 from 2.28.2. I installed the latest package. But when i am starting the application i am getting error and application is unable to…
1
vote
1 answer

LaunchDarkly turn off for certain environments

I'm using the React SDK for LaunchDarkly and I need to initialize it just for certain environments. For example I need to skip LaunchDarkly initialization for localrun. Is there a way to do it? This is the way I initialize it: export default…
1
vote
1 answer

Accessing LaunchDarkly flags from React.JS

I am trying to access LaunchDarkly flags from my App context. The code looks like: import { useState, useEffect } from 'react'; import { Helmet } from 'react-helmet'; import { MuiPickersUtilsProvider } from '@material-ui/pickers'; import…
Igor Shmukler
  • 1,742
  • 3
  • 15
  • 48
1
vote
1 answer

How can I troubleshoot Launch Darkly SDK when it fails to get flag values?

I'm trying to set up a simple Launch Darkly integration in .NET but it isn't working. The code seems to run just fine, but it doesn't actually get the flag value. It always returns false regardless of whether I turn the flag on or off in my Launch…
FunkyVerb
  • 61
  • 1
  • 1
  • 8
1
vote
1 answer

My Lambda hangs when accessing LaunchDarkly through a middy wrapper

We're using Middy as a wrapper with all our lambdas to deal with some logging and instrumentation logic, which is great. We also use LaunchDarkly (launchdarkly-node-server-sdk) to access feature flags serverlessly, following the basic option 1…
Vini Bono
  • 85
  • 8
1
vote
1 answer

How to Impliment LaunchDarkly feature management in .net core api

I would like to add LaunchDarkly feature management in my .net core api.In a real time project how can i add this? I have one interface file with all features.How will be this interface participate in LD call? i am confused how to create a generic…
Hariedamana
  • 21
  • 1
  • 6
1
vote
2 answers

When to use polling and streaming in launch darkly

I have started using launch darkly(LD) recently. And I was exploring how LD updates its feature flags. As mentioned Here, there are two ways. Streaming Polling I was just thinking which implementation will be better in what cases. After a little…
Arun Gowda
  • 2,721
  • 5
  • 29
  • 50
1
vote
0 answers

Feature Flag Change Listener (e.g true, false) in Rollout Android SDK

For those who used Rollout SDK's feature flag. Is it possible to listen / observe the feature / flag / configuration change in Rollout SDK for iOS / Android by registering for certain flags? For example, I have a deal feature flag, whenever it's…
Farruh Habibullaev
  • 2,342
  • 1
  • 26
  • 33
1
vote
1 answer

LaunchDarkly feature flags with celery

I am trying to run an async task with LaunchDarkly feature flags When I first starting the worker, it takes the last flag value But if I'm changing the feature flag value while worker is running - it will not update the value, and it will remain the…
gCoh
  • 2,719
  • 1
  • 22
  • 46
0
votes
0 answers

Launch Darkly - Feature Requester - Auth

I am trying to fetch Launch Darkly flag values. The constructor present in RedisFeatureRequester file is building _redisOptions only with following values. package : "launchdarkly/launchdarkly-php": "^3.5" $this->_redisOptions = array( …
ConfusedProgrammer
  • 479
  • 1
  • 4
  • 14
0
votes
0 answers

Exporting rules of a feature flag in launchdarkly

I have a few feature flags with multiple rules. for eg - I want to export the rules in a readable format (json, xml etc) for eg - { rule2: { contextKind: ..., values: ["US", ...] } } Is there a quick way to do it?
ajc
  • 1,685
  • 14
  • 34
0
votes
0 answers

How to implement LaunchDarkly on Flutter Web?

The package https://pub.dev/packages/launchdarkly_flutter_client_sdk only has support for Android and IOS. I am trying to use the JavaScript SDK, but so far I have not been able to make it work.
Ezequiel
  • 331
  • 4
  • 6
0
votes
0 answers

LaunchDarkly - Connection unexpectedly closed

Facing issues in updating key. In logs getting. `com.launchdarkly.shaded.com.launchdarkly.eventsource.EventSource` - Connection unexpectedly closed. launchdarkly - implementation group: 'com.launchdarkly', name: 'launchdarkly-client', version:…
0
votes
2 answers

Using the LaunchDarkly react-client-sdk, is there a way to opt out of streamed updates just for certain flags?

LaunchDarkly streamed updates are turned on by default, but I'd like to ignore streamed updates for just one of my flags so it reads the new flag value only on reload. Is this possible?
zerostatic
  • 112
  • 1
  • 7