Skip to content

Commit 23c1547

Browse files
authored
0.1.1 (#40)
1 parent e390cde commit 23c1547

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.1.1
2+
3+
Minor fixes.
4+
15
## 0.1.0
26

37
Initial release.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is the official Flutter plugin designed to work with Split, the platform fo
88
## Compatibility
99
| | Android | iOS |
1010
|----------------|---------|----------|
11-
| **Support** | SDK 21+ | iOS 9+* |
11+
| **Support** | SDK 21+ | iOS 9+ |
1212

1313
## Getting started
1414

android/src/test/java/io/split/splitio/SplitClientConfigHelperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void configValuesAreMappedCorrectly() {
3030
configValues.put("persistentAttributesEnabled", true);
3131
configValues.put("sdkEndpoint", "apiEndpoint.split.io");
3232
configValues.put("eventsEndpoint", "eventsEndpoint.split.io");
33-
configValues.put("sseAuthServiceEndpoint", "sseAuthServiceEndpoint.split.io");
33+
configValues.put("authServiceEndpoint", "sseAuthServiceEndpoint.split.io");
3434
configValues.put("streamingServiceEndpoint", "streamingServiceEndpoint.split.io");
3535
configValues.put("telemetryServiceEndpoint", "telemetryServiceEndpoint.split.io");
3636

ios/Classes/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum Argument: String {
2626
case apiKey = "apiKey"
2727
case matchingKey = "matchingKey"
2828
case bucketingKey = "bucketingKey"
29-
case config = "config"
29+
case config = "sdkConfiguration"
3030
case splitName = "splitName"
3131
case attributes = "attributes"
3232
case eventType = "eventType"

ios/Classes/SplitClientConfigHelper.swift

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SplitClientConfigHelper {
1717
static private let PERSISTENT_ATTRIBUTES_ENABLED = "persistentAttributesEnabled"
1818
static private let SDK_ENDPOINT = "sdkEndpoint"
1919
static private let EVENTS_ENDPOINT = "eventsEndpoint"
20-
static private let SSE_AUTH_SERVICE_ENDPOINT = "sseAuthServiceEndpoint"
20+
static private let SSE_AUTH_SERVICE_ENDPOINT = "authServiceEndpoint"
2121
static private let STREAMING_SERVICE_ENDPOINT = "streamingServiceEndpoint"
2222
static private let TELEMETRY_SERVICE_ENDPOINT = "telemetryServiceEndpoint"
2323

@@ -128,13 +128,7 @@ class SplitClientConfigHelper {
128128
}
129129
}
130130

131-
config.serviceEndpoints = serviceEndpointsBuilder
132-
.set(sdkEndpoint: "https://sdk.split-stage.io/api")
133-
.set(eventsEndpoint: "https://events.split-stage.io/api")
134-
.set(authServiceEndpoint: "https://auth.split-stage.io/api/v2")
135-
.set(streamingServiceEndpoint: "https://streaming.split.io/sse")
136-
.set(telemetryServiceEndpoint: "https://telemetry.split-stage.io/api/v1")
137-
.build()
131+
config.serviceEndpoints = serviceEndpointsBuilder.build()
138132

139133
return config
140134
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: splitio
22
description: Official plugin for split.io, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience.
3-
version: 0.1.0
3+
version: 0.1.1
44
homepage: https://split.io/
55
repository: https://github.com/splitio/flutter-sdk-plugin
66

0 commit comments

Comments
 (0)