Skip to main content

What's supported in Harness Feature Flags

Harness Feature Flags support client-side and server-side SDKs for a number of programming languages.

Supported client-side SDKs

The following table lists the client-side Feature Flag SDKs that Harness supports.

SDKDocumentation
AndroidAndroid SDK Reference
iOSiOS SDK Reference
FlutterFlutter SDK Reference
JavascriptJavascript SDK Reference
React NativeReact Native SDK Reference
XamarinXamarin SDK Reference
React ClientReact Client Reference
React NativeReact Native Reference

Supported server-side SDKs

The following table lists the server-side Feature Flag SDKs that Harness supports.

SDKDocumentation
.NET.NET SDK Reference
GoGo SDK Reference
JavaJava SDK Reference
Node.jsNode.js SDK Reference
PythonPython SDK Reference
RubyRuby SDK Reference
ApexApex SDK Reference
ErlangErlang SDK Reference
PHPPHP SDK Reference

Relay Proxy

The Relay Proxy, which allows for offline and hybrid Feature Flags usage, is provided as a Docker image and can be used in any environment where the Docker image can be run. The Relay Proxy can be enhanced with Redis as a cache in environments where this is possible.

Hybrid and offline usage

Harness Feature Flags allows for both completely offline usage as well as hybrid usage via the relay proxy. Hybrid usage can be in the form of:

  • The application is online and only talks to the Relay Proxy, while the Relay Proxy has connectivity to Harness.
  • The Relay Proxy is bundled with the application at build-time with a working configuration file, and neither the application nor the Relay Proxy have connectivity to Harness.

Cloud limitations

There are no limitations for using Feature Flags in any cloud or non-cloud environment as long as the languages needed are supported with an SDK, and connectivity to either Harness or the Relay Proxy can be established.

For information about what's supported for other Harness modules and the Harness Platform overall, go to Supported platforms and technologies.

Resource Limits

ResourceLimitDescription
Flags1200Number of flags per project
Targets60 daysNumber of targets per environment are retained for up to 60 days. Targets referenced in rules do not get removed
Target Groups1200Number of groups of targets per environment
API Keys10Number of api keys created per environment
Flag Target Rules2000Number of target rules on a flag (e.g. serve target x true)
Flag Target Group Rules1000Number of target group rules on a flag (e.g. server group beta true)
Target Group Include/Exclude Rules5000Number of targets directly included/excluded in a target group
Target Group Custom Rules5000Number of custom rules in a target group (e.g. if identifier == “foo”)
Target Group Clause Sizes5000Number of clauses in a group rule