Skip to content
Open
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
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies {

// Banuba Video Editor SDK dependencies

def banubaSdkVersion = '1.48.0'
def banubaSdkVersion = '1.48.0.1'
implementation "com.banuba.sdk:ffmpeg:5.3.0"
implementation "com.banuba.sdk:camera-sdk:${banubaSdkVersion}"
implementation "com.banuba.sdk:camera-ui-sdk:${banubaSdkVersion}"
Expand All @@ -83,6 +83,6 @@ dependencies {
// Photo Editor SDK dependency
// WARNING!
// Remove this dependency if you only use Video Editor SDK
def banubaPESdkVersion = '1.2.18'
def banubaPESdkVersion = '1.2.20'
implementation("com.banuba.sdk:pe-sdk:${banubaPESdkVersion}")
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ import com.banuba.sdk.gallery.di.GalleryKoinModule
import com.banuba.sdk.playback.di.VePlaybackSdkKoinModule
import com.banuba.sdk.ve.di.VeSdkKoinModule
import com.banuba.sdk.ve.flow.di.VeFlowKoinModule
import com.banuba.sdk.veui.data.EditorConfig
import com.banuba.sdk.veui.di.VeUiSdkKoinModule
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.startKoin
import org.koin.core.qualifier.named
import com.banuba.sdk.core.domain.OnImageEditorCallback
import com.banuba.sdk.pe.domain.PhotoEditorHandler
import org.koin.dsl.module

class VideoEditorModule {
Expand Down Expand Up @@ -62,5 +65,14 @@ private class SampleIntegrationKoinModule {
) {
AudioBrowserMusicProvider()
}

// THE LICENSE MUST INCLUDE FACE AR AND PHOTO EDITOR
single {
EditorConfig(supportPhotoEditing = true)
}

factory<OnImageEditorCallback> {
PhotoEditorHandler
}
}
}