diff --git a/app/build.gradle b/app/build.gradle index 5b2126d..8c04a9c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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}" @@ -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}") } diff --git a/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt b/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt index 3965de3..88d0222 100644 --- a/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt +++ b/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt @@ -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 { @@ -62,5 +65,14 @@ private class SampleIntegrationKoinModule { ) { AudioBrowserMusicProvider() } + + // THE LICENSE MUST INCLUDE FACE AR AND PHOTO EDITOR + single { + EditorConfig(supportPhotoEditing = true) + } + + factory { + PhotoEditorHandler + } } }