SDKs
Read time: 1 minute
Last edited: Feb 27, 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
- Go SDK 6.0.0
- Erlang SDK 2.0.0
- Haskell SDK 4.0.0
- Java SDK 6.0.0
- Node.js (server-side) SDK 7.0.0
- PHP SDK 5.0.0
- Python SDK 8.0.0
- Ruby SDK 7.0.0
- Rust SDK 1.0.0
The following client-side SDK versions support contexts:
- .NET (client-side) SDK 3.0.0
- Android SDK 4.0.0
- iOS SDK 8.0.0 (Swift and Objective-C)
- JavaScript SDK 3.0.0
- Node.js (client-side) SDK 3.0.0
- React Native SDK 7.0.0
- React Web SDK 3.0.0
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: