SDKs
Read time: 1 minute
Last edited: May 17, 2023
Custom contexts are now available. To learn more about the fundamentals of contexts and how they work in LaunchDarkly, read An introduction to contexts and Contexts and segments.
Below is a list of SDKs that support custom contexts. We are adding new supported SDKs regularly. When an SDK's updated documentation is available, a link to those docs will appear in the list.
The following server-side SDK versions support contexts:
- .NET (server-side) SDK 7.0.0 and higher
- Go SDK 6.0.0 and higher
- Erlang SDK 2.0.0 and higher
- Haskell SDK 4.0.0 and higher
- Java SDK 6.0.0 and higher
- Node.js (server-side) SDK 7.0.0 and higher
- PHP SDK 5.0.0 and higher
- Python SDK 8.0.0 and higher
- Ruby SDK 7.0.0 and higher
- Rust SDK 1.0.0 and higher
The following client-side SDK versions support contexts:
- .NET (client-side) SDK 3.0.0 and higher
- Android SDK 4.0.0 and higher
- Flutter SDK 2.0.0 and higher
- iOS SDK 8.0.0 (Swift and Objective-C) and higher
- JavaScript SDK 3.0.0 and higher
- Node.js (client-side) SDK 3.0.0 and higher
- React Native SDK 7.0.0 and higher
- React Web SDK 3.0.0 and higher
- Roku SDK 2.0.0 and higher
The following edge SDK versions support contexts:
- Cloudflare SDK 2.0.0 and higher
- Vercel SDK 1.0.0 and higher
To learn more about upgrading to contexts, read Best practices for upgrading users to contexts.
Overview
This topic explains the prerequisites you must consider when you're setting up a LaunchDarkly SDK for the first time.
Getting started with LaunchDarkly SDKs
The SDK types have different security considerations, as well as behavioral and architectural differences. They handle flag evaluations differently, utilize different kinds of SDK keys, and support different languages. Consider your use case carefully before you decide which SDKs to use.
To learn more, read Getting started with SDKs.
The SDKs are designed to evaluate feature flags in your application. If you want to interact programmatically with the LaunchDarkly product, for example to create or update account members, projects, or environments, or to search for existing flags, you'll need to use the LaunchDarkly API. To learn more about the differences between these offerings, read Comparing LaunchDarkly's REST API and SDK.
Available SDKs
If you already know which SDKs you want to use, choose from the list of supported SDKs below.
If the language or framework you use is not listed here, we may provide a sample application to help you get started. Sample applications demonstrate that an SDK is compatible with a particular language or framework. However, LaunchDarkly only provides full support for those languages or frameworks that have a dedicated SDK.
We provide the following SDKs: