Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,16 @@ jobs:
path: client-sdk-android/diffuse-source-file
key: diffuse-${{ github.event.pull_request.base.sha }}

- uses: actions/download-artifact@v5
with:
name: livekit-android-sdk-release.aar
path: client-sdk-android/

- id: diffuse
uses: usefulness/diffuse-action@v1
with:
old-file-path: client-sdk-android/diffuse-source-file
new-file-path: client-sdk-android/livekit-android-sdk/build/outputs/aar/livekit-android-sdk-release.aar
new-file-path: client-sdk-android/livekit-android-sdk-release.aar

# Consuming diffuse action output

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ segmentation-selfie = { module = "com.google.mlkit:segmentation-selfie", version
semver4j = { module = "com.vdurmont:semver4j", version.ref = "semver4j" }
webrtc = { module = "io.github.webrtc-sdk:android-prefixed", version.ref = "webrtc" }

androidx-annotation = { module = "androidx.annotation:annotation", version = "1.7.1" }
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.9.1" }
androidx-activity-compose = { module = "androidx.activity:activity-compose", version = "1.9.0" }
androidx-constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version = "1.0.1" }
auto-service-compiler = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
Expand Down
1 change: 1 addition & 0 deletions livekit-android-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ dokkaHtml {
}

dependencies {

//api fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation libs.coroutines.lib
Expand Down
32 changes: 31 additions & 1 deletion livekit-android-sdk/src/main/java/io/livekit/android/LiveKit.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023-2024 LiveKit, Inc.
* Copyright 2023-2026 LiveKit, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -18,6 +18,7 @@ package io.livekit.android

import android.app.Application
import android.content.Context
import io.livekit.android.LiveKit.loggingLevel
import io.livekit.android.dagger.DaggerLiveKitComponent
import io.livekit.android.dagger.RTCModule
import io.livekit.android.dagger.create
Expand Down Expand Up @@ -95,4 +96,33 @@ object LiveKit {

return room
}

/**
* A new api for diffuse
*/
fun newApi(someBool: Boolean): Boolean {
return true
}

/**
* This is a suppressed api.
* @suppress
*/
fun suppressedApi(): String {
return "suppressed"
}

/**
* This is an internal api.
*/
internal fun internalApi(): String {
return "suppressed"
}

/**
* This is a private api.
*/
private fun privateApi(): String {
return "suppressed"
}
}