Skip to content

Commit cd3846f

Browse files
committed
modified README.md
1 parent b78ea9a commit cd3846f

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencyResolutionManagement {
4848
Add the KinesteX SDK dependency in your app’s `build.gradle`:
4949

5050
```gradle
51-
implementation("com.github.KinesteX:KinesteXSDKKotlin:1.1.6")
51+
implementation("com.github.KinesteX:KinesteXSDKKotlin:1.1.7")
5252
5353
```
5454

@@ -190,6 +190,23 @@ The KinesteX SDK provides multiple methods to create different views:
190190
) as GenericWebView?
191191
```
192192

193+
- **Experiences View**:
194+
195+
```kotlin
196+
kinesteXWebView = KinesteXSDK.createExperiencesView(
197+
apiKey,
198+
company,
199+
userId,
200+
"box", // name of the experience
201+
100, // duration of the experience
202+
null,
203+
customParams = null,
204+
viewModel.isLoading,
205+
::handleWebViewMessage,
206+
permissionHandler = this
207+
) as GenericWebView?
208+
```
209+
193210
- **Camera Component (Just camera + our motion analysis and feedback)**:
194211

195212
```kotlin

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ android {
3838
}
3939

4040
dependencies {
41-
implementation(project(":kinestexsdkkotlin"))
41+
// implementation(project(":kinestexsdkkotlin"))
4242
implementation("androidx.core:core-ktx:1.9.0")
4343
implementation("com.google.code.gson:gson:2.8.8")
4444
implementation("androidx.appcompat:appcompat:1.6.1")
4545
implementation("com.google.android.material:material:1.11.0")
4646
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
4747
testImplementation("junit:junit:4.13.2")
4848
androidTestImplementation("androidx.test.ext:junit:1.1.5")
49-
// implementation("com.github.KinesteX:KinesteX-SDK-Kotlin:1.1.5")
49+
implementation("com.github.KinesteX:KinesteX-SDK-Kotlin:1.1.7")
5050
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
5151
implementation("androidx.activity:activity-ktx:1.9.0")
5252
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.8.1")

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ pluginManagement {
1616

1717
rootProject.name = "KinesteXSDKKotlin"
1818
include(":app")
19-
include(":kinestexsdkkotlin")
19+
//include(":kinestexsdkkotlin")

0 commit comments

Comments
 (0)