From 193ec7ab8526d84362ca5270c3f6ef6013b66fce Mon Sep 17 00:00:00 2001 From: Alejandro <54634181+alcampospalacios@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:28:40 +0100 Subject: [PATCH 1/5] Update build.gradle --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index 046a6ad2..89e9d0e6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -27,6 +27,7 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 33 + namespace 'com.aravi.video_compress' sourceSets { main.java.srcDirs += 'src/main/kotlin' From 4f7bc648a523082c8de491869ab54f1dd2a7024c Mon Sep 17 00:00:00 2001 From: Alejandro <54634181+alcampospalacios@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:57:05 +0100 Subject: [PATCH 2/5] Update build.gradle --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 89e9d0e6..4d6bc73f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,14 +2,14 @@ group 'com.aravi.video_compress' version '1.0' buildscript { - ext.kotlin_version = '1.8.10' + ext.kotlin_version = '1.9.10' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.0' + classpath 'com.android.tools.build:gradle:8.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -42,6 +42,6 @@ android { } dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation 'com.otaliastudios:transcoder:0.10.5' } From 0ce50a278e321af18e6f4720be3e051ffc074b2f Mon Sep 17 00:00:00 2001 From: Alejandro <54634181+alcampospalacios@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:05:40 +0100 Subject: [PATCH 3/5] Update build.gradle --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 4d6bc73f..33d72845 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ group 'com.aravi.video_compress' version '1.0' buildscript { - ext.kotlin_version = '1.9.10' + ext.kotlin_version = '1.9.24' repositories { google() mavenCentral() From 94a12464ea83c1df1fd7f4bdfa19259b00ce63e9 Mon Sep 17 00:00:00 2001 From: Alejandro <54634181+alcampospalacios@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:47:25 +0100 Subject: [PATCH 4/5] Update build.gradle go back changes --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 33d72845..89e9d0e6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,14 +2,14 @@ group 'com.aravi.video_compress' version '1.0' buildscript { - ext.kotlin_version = '1.9.24' + ext.kotlin_version = '1.8.10' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.1.1' + classpath 'com.android.tools.build:gradle:7.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -42,6 +42,6 @@ android { } dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'com.otaliastudios:transcoder:0.10.5' } From 1d1ed8a09f1265bc67f101724541b304d3396515 Mon Sep 17 00:00:00 2001 From: unwmun-canlab Date: Mon, 28 Jul 2025 15:44:07 +0900 Subject: [PATCH 5/5] fix: migration 3.32.7 --- .../kotlin/com/aravi/video_compress/VideoCompressPlugin.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/android/src/main/kotlin/com/aravi/video_compress/VideoCompressPlugin.kt b/android/src/main/kotlin/com/aravi/video_compress/VideoCompressPlugin.kt index a9c724ef..9d0a4859 100644 --- a/android/src/main/kotlin/com/aravi/video_compress/VideoCompressPlugin.kt +++ b/android/src/main/kotlin/com/aravi/video_compress/VideoCompressPlugin.kt @@ -17,7 +17,6 @@ import com.otaliastudios.transcoder.internal.utils.Logger import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel.MethodCallHandler -import io.flutter.plugin.common.PluginRegistry.Registrar import java.io.File import java.text.SimpleDateFormat import java.util.* @@ -198,12 +197,6 @@ class VideoCompressPlugin : MethodCallHandler, FlutterPlugin { companion object { private const val TAG = "video_compress" - - @JvmStatic - fun registerWith(registrar: Registrar) { - val instance = VideoCompressPlugin() - instance.init(registrar.context(), registrar.messenger()) - } } }