From 9405f9401674ad257ea58fac8b145a57b5341356 Mon Sep 17 00:00:00 2001 From: 1nspir3d <62627903+1nspir3d@users.noreply.github.com> Date: Mon, 6 Nov 2023 19:34:41 +0300 Subject: [PATCH 1/2] Update build.gradle --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 38cbee2d..5f45d54a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -28,6 +28,10 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (apgVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.dooboolab.audiorecorderplayer" + } compileSdkVersion safeExtGet('compileSdkVersion', 31) defaultConfig { From 5af61d3732f130a9d591d195d13b267beadd7ca5 Mon Sep 17 00:00:00 2001 From: 1nspir3d <62627903+1nspir3d@users.noreply.github.com> Date: Tue, 7 Nov 2023 17:30:00 +0300 Subject: [PATCH 2/2] fix typo --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 5f45d54a..c62e71e7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,7 +29,7 @@ apply plugin: 'kotlin-android' android { def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION - if (apgVersion.tokenize('.')[0].toInteger() >= 7) { + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { namespace "com.dooboolab.audiorecorderplayer" } compileSdkVersion safeExtGet('compileSdkVersion', 31)