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
0
votes
0 answers

Installing react on saleor using Launchdarkly throws error

I'm trying to install launch darkly on saleor storefront however it throws me an error ERROR in ./node_modules/launchdarkly-js-client-sdk/dist/ldclient.es.js 1:18823 Module parse failed: Unexpected token (1:18823) You may need an appropriate loader…
denmg
  • 360
  • 3
  • 12
0
votes
0 answers

I am getting Launch darkly post error in my react app

I am creating a react app, but whenever I make post or get requests in react app. It throws errors like this: POST https://events.launchdarkly.com/events/bulk/62913038bb88120c8d0102a7 net::ERR_BLOCKED_BY_CLIENT This error is coming for 4-5 times. I…
0
votes
1 answer

Deploy a Next.js App to Cloudflare Pages with LaunchDarkly

I have a Next.js 13 app that was deployed to the Edge on Cloudflare Pages with experimental: { runtime: 'experimental-edge' }, but requirements were updated and I need to include our feature flag dependency LaunchDarkly - and retrieve the feature…
hotshotiguana
  • 1,520
  • 2
  • 26
  • 40
0
votes
0 answers

what is best way to implement Eventsource in android app

I was trying to connect SSE from android app but it have a problem. It is not showing data 100%. Like in first attempt someone trigger notify command then it won't work but after that second attempt everybody get notify. Here is my code: //calling…
0
votes
1 answer

Bulk feature flag upload to LaunchDarkly

I have feature flags defined in application configuration file (JSON). Is there a way to import all the feature flags to LaunchDarkly as a bulk operation rather than creating each feature flag in the interface?
0
votes
1 answer

Action required: JavaScript SDK v2.19.2 is no longer supported by this application

Updating JavaScript SDK v2.19.2 to latest version "Action required: JavaScript SDK v2.19.2 is no longer supported Please update your application to the latest version". Has anyone done this update before. Do I just click the "latest version" to…
0
votes
1 answer

LaunchDarkly: how to access flag values from `localStorage`

I'm using LaunchDarkly in a web app and am playing around with using the 'localStorage' bootstrap option on initialization. With this option I clearly see my flags in localStorage and they look to be under a key formed with my clientId and then some…
Retza
  • 1
  • 2
0
votes
0 answers

LaunchDarkly: add user to segment programmatically

we are evaluating LaunchDarkly as feature flag management platform. right now we have "account flags" DB table that holds flag values per account (we are multitenant app). so I wanted to migrate the DB table into LaunchDarkly. The only way I see…
Sharon Ben Asher
  • 13,849
  • 5
  • 33
  • 47
0
votes
1 answer

How to use the LDSwiftEventSource library correctly

I was looking for Server-Sent events on watchos and found https://github.com/launchdarkly/swift-eventsource this library. The only problem is that there is no documentation on how to use it correctly. Is anyone familiar with it. Let me know please.
Pjaks
  • 251
  • 1
  • 11
0
votes
0 answers

Why is Launch Darkly giving this error [LDClient] Client has not finished initializing; feature store unavailable?

I'm using Launch Darkly's ruby sdk as follows: @client = LaunchDarkly::LDClient.new() hash = Hash.new @client.variation('flag_name', hash, false) However, I keep getting an error stating [LDClient] Client has not finished initializing;…
0
votes
1 answer

Does LaunchDarkly Flag value get cached?

I am new to python using ldclient library to get value from LaunchDarkly in backend server. Does it get cache on backend server or there is network call on every reference? I had assumption it would be getting cached with some TTL + any LD flag…
Abhay Kumar
  • 403
  • 1
  • 5
  • 12
0
votes
0 answers

Reactjs hide radio button using Launch Darkley

I am using Launch Darkley for feature flagging in my ReactJS WebApp. I am trying to hide the Radio Button below with the following code but it is not working as expected - is there something I am missing?
Ctrl_Alt_Defeat
  • 3,933
  • 12
  • 66
  • 116
0
votes
1 answer

Modules / typing variable with resource from another provider

I am creating a tf module to abstract some of the launch darkly configuration in terraform. I have defined one of my modules variables as feature_flags which essentially is a map of launchdarkly_feature_flag resources. At the moment I am to manually…
Hitmands
  • 13,491
  • 4
  • 34
  • 69
0
votes
2 answers

Where can I find my 'user_key' for launchDarkly client?

I'm setting up the client on my React Native project let client = new LDClient(); let config = { "mobileKey": "YOUR_MOBILE_KEY" }; let user = { "key": "user_key" }; // where do I find this info? await client.configure(config, user); I'm currently…
Passaro
  • 93
  • 1
  • 8
0
votes
1 answer

How to reflect updated data in react application after changing feature flag value in launch darkly

I am changing feature flag value in launch darkly dashboard, the updated flag data is not getting reflect in the application. We need to refresh the application or open in new tab to see the updated results