Skip to content

Commit 3c9f606

Browse files
Merge branch 'FME-11223-web-support_baseline' into FME-11223-web-support-complementary-files
2 parents 349a724 + 074500d commit 3c9f606

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

splitio/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This is the official Flutter plugin designed to work with Split, the platform fo
66
[![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware)
77

88
## Compatibility
9-
| | Android | iOS | Web |
10-
|----------------|---------|----------|----------|
11-
| **Support** | SDK 21+ | iOS 12+ | Any |
9+
| | Android | iOS | Web |
10+
|----------------|---------|---------|---------|
11+
| **Support** | SDK 21+ | iOS 12+ | Any |
1212

1313
## Getting started
1414

splitio_web/lib/splitio_web.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ class SplitioWeb extends SplitioPlatform {
678678
bucketingKey: bucketingKey,
679679
);
680680

681-
return client.flush().toDart;
681+
// `then` chain to ensure the return type is `Future<void>`
682+
return client.flush().toDart.then<void>((_) {});
682683
}
683684

684685
@override
@@ -689,7 +690,7 @@ class SplitioWeb extends SplitioPlatform {
689690
bucketingKey: bucketingKey,
690691
);
691692

692-
return client.destroy().toDart;
693+
return client.destroy().toDart.then<void>((_) {});
693694
}
694695

695696
@override

splitio_web/test/splitio_web_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,6 @@ void main() {
675675
}));
676676
});
677677

678-
// @TODO validate full config with pluggable Browser SDK modules
679678
test('init with config: full config', () async {
680679
SplitioWeb _platform = SplitioWeb();
681680

0 commit comments

Comments
 (0)