Skip to content

SDK Overview

SDKVersionPackage
ReactReactv0.2.8@flags-gg/react-library
Next.jsNext.jsv0.2.8@flags-gg/react-library
SDKVersionPackage
GoGov1.6.3github.com/flags-gg/go-flags
RustRustv0.2.7flags-rs
PythonPythonv0.1.4flags-gg
PHPPHPv0.1.3flags-gg/flags-php
C#C#v0.1.3Flags.GG
SwiftSwiftv1.0.1flags-gg/swift
KotlinKotlinv1.1.0gg.flags:flags-kotlin
RubyRubyv0.1.2flags-gem
ElixirElixirv0.1.0flags_gg
FeatureGoRustPythonPHPC#SwiftKotlinRubyElixirReactNext.js
SQLite cacheYes—YesYesYes—Yes————
Memory cacheYesYesYes—YesYesYesYesYes (ETS)YesYes
Redis cache———Yes———————
Circuit breakerYesYesYesYesYesYesYesYesYes——
Env overridesYesYesYesYesYesYesYesYesYes——
Async supportYesYes——YesYesYes—YesYesYes
Batch operationsYesYes———Yes——Yes——
Secret menu—————————YesYes

All SDKs follow the same pattern:

  1. Initialize a client with your project, agent, and environment IDs
  2. Check a flag with is("flag-name").enabled()
  3. List all flags with list()

The client handles caching, retries, circuit breaking, and environment overrides automatically.