@@ -22,19 +22,19 @@ public class App {
2222 SplitClientConfig config = SplitClientConfig . builder()
2323 .setBlockUntilReadyTimeout(10000 )
2424 .build();
25- SplitFactory splitFactory = SplitFactoryBuilder . build(" SDK_API_KEY " , config);
25+ SplitFactory splitFactory = SplitFactoryBuilder . build(" YOUR_SDK_KEY " , config);
2626 SplitClient client = splitFactory. client();
2727 try {
2828 client. blockUntilReady();
2929 } catch (TimeoutException | InterruptedException e) {
3030 // log & handle
3131 }
3232
33- String treatment = client. getTreatment(" CUSTOMER_ID" , " SPLIT_NAME " );
33+ String treatment = client. getTreatment(" CUSTOMER_ID" , " FEATURE_FLAG_NAME " );
3434 if (treatment. equals(" on" )) {
35- // Feature is enabled for this user!
35+ // Feature flag is enabled for this user!
3636 } else if (treatment. equals(" off" )) {
37- // Feature is disabled for this user!
37+ // Feature flag is disabled for this user!
3838 } else {
3939 // Unable to perform evaluation.
4040 }
@@ -61,7 +61,8 @@ To learn more about Split, contact hello@split.io, or get started with feature f
6161Split has built and maintains SDKs for:
6262
6363* Java [ Github] ( https://github.com/splitio/java-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020405151-Java-SDK )
64- * Javascript [ Github] ( https://github.com/splitio/javascript-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK )
64+ * JavaScript [ Github] ( https://github.com/splitio/javascript-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK )
65+ * JavaScript for Browser [ Github] ( https://github.com/splitio/javascript-browser-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK )
6566* Node [ Github] ( https://github.com/splitio/javascript-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK )
6667* .NET [ Github] ( https://github.com/splitio/dotnet-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020240172--NET-SDK )
6768* Ruby [ Github] ( https://github.com/splitio/ruby-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020673251-Ruby-SDK )
@@ -70,6 +71,10 @@ Split has built and maintains SDKs for:
7071* GO [ Github] ( https://github.com/splitio/go-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020093652-Go-SDK )
7172* Android [ Github] ( https://github.com/splitio/android-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020343291-Android-SDK )
7273* iOS [ Github] ( https://github.com/splitio/ios-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK )
74+ * Angular [ Github] ( https://github.com/splitio/angular-sdk-plugin ) [ Docs] ( https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities )
75+ * React [ Github] ( https://github.com/splitio/react-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360038825091-React-SDK )
76+ * React Native [ Github] ( https://github.com/splitio/react-native-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/4406066357901-React-Native-SDK )
77+ * Redux [ Github] ( https://github.com/splitio/redux-client ) [ Docs] ( https://help.split.io/hc/en-us/articles/360038851551-Redux-SDK )
7378
7479For a comprehensive list of open source projects visit our [ Github page] ( https://github.com/splitio?utf8=%E2%9C%93&query=%20only%3Apublic%20 ) .
7580
0 commit comments