Skip to content

Commit

Permalink
Remove compose from livekit-android-sdk (livekit#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidliu authored Feb 3, 2024
1 parent 265d322 commit e07fafd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 199 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ dependencies {
}
```

Compose-based apps should check out our [Android Components SDK](https://github.com/livekit/components-android) for composables support.

You'll also need jitpack as one of your repositories.

```groovy
subprojects {
```groovy title="settings.gradle"
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
// ...
//...
maven { url 'https://jitpack.io' }
// For SNAPSHOT access
Expand Down
5 changes: 0 additions & 5 deletions livekit-android-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@ android {
}

buildFeatures {
compose true
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion compose_compiler_version
}
kotlinOptions {
freeCompilerArgs = ["-Xinline-classes", "-opt-in=kotlin.RequiresOptIn"]
jvmTarget = java_version
Expand Down Expand Up @@ -153,7 +149,6 @@ dependencies {
implementation deps.androidx.annotation
implementation "androidx.core:core:${versions.androidx_core}"
implementation "com.google.protobuf:protobuf-javalite:${versions.protobuf}"
implementation "androidx.compose.ui:ui:$compose_version"

implementation 'javax.sip:android-jain-sip-ri:1.3.0-91'

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.painterResource
import io.livekit.android.compose.VideoRenderer
import io.livekit.android.composesample.ui.VideoRenderer
import io.livekit.android.room.Room
import io.livekit.android.room.participant.Participant
import io.livekit.android.room.track.CameraPosition
Expand Down

0 comments on commit e07fafd

Please sign in to comment.