File tree Expand file tree Collapse file tree 6 files changed +1666
-95
lines changed
commonMain/kotlin/dev/openfeature/kotlin/contrib/providers/ofrep
commonTest/kotlin/dev/openfeature/kotlin/contrib/providers/ofrep Expand file tree Collapse file tree 6 files changed +1666
-95
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ This provider is designed to use the [OpenFeature Remote Evaluation Protocol (OF
4
4
5
5
## Supported platforms
6
6
7
- | Supported | Platform | Supported versions |
8
- | -----------| ----------------------| --------------------|
9
- | ✅ | Android | SDK 21+ |
10
- | ✅ | JVM | JDK 11+ |
11
- | ❌ | Native | |
12
- | ❌ | Javascript (Node.js) | |
13
- | ❌ | Javascript (Browser) | |
14
- | ❌ | Wasm | |
7
+ | Supported | Platform | Supported versions |
8
+ | -----------| ----------------------| --------------------------------------------------------------------------------|
9
+ | ✅ | Android | |
10
+ | ✅ | JVM | JDK 11+ |
11
+ | ✅ | Native | Linux x64 |
12
+ | ❌ | Native | [ Other native targets] ( https://kotlinlang.org/docs/native-target-support.html ) |
13
+ | ✅ | Javascript (Node.js) | |
14
+ | ✅ | Javascript (Browser) | |
15
+ | ❌ | Wasm | |
15
16
16
17
17
18
## Installation
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ plugins {
4
4
alias(libs.plugins.kotlin.multiplatform)
5
5
alias(libs.plugins.kotlinx.serialization)
6
6
alias(libs.plugins.android.library)
7
+ // Needed for the JS coroutine support for the tests
8
+ alias(libs.plugins.kotlinx.atomicfu)
7
9
}
8
10
9
11
kotlin {
@@ -17,6 +19,17 @@ kotlin {
17
19
}
18
20
}
19
21
}
22
+ linuxX64 {}
23
+ js {
24
+ nodejs {}
25
+ browser {
26
+ testTask {
27
+ useKarma {
28
+ useChromeHeadless()
29
+ }
30
+ }
31
+ }
32
+ }
20
33
21
34
sourceSets {
22
35
commonMain.dependencies {
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import kotlinx.coroutines.flow.Flow
25
25
import kotlinx.coroutines.flow.MutableSharedFlow
26
26
import kotlinx.coroutines.isActive
27
27
import kotlinx.coroutines.launch
28
+ import kotlin.concurrent.Volatile
28
29
import kotlin.time.Clock
29
30
import kotlin.time.Duration.Companion.seconds
30
31
import kotlin.time.ExperimentalTime
You can’t perform that action at this time.
0 commit comments