Skip to content

Commit

Permalink
Android RN 72 Support - Update build.gradle w/ Namespace (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
1nspir3d authored Nov 8, 2023
1 parent 45061ca commit 694c54e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace "com.dooboolab.audiorecorderplayer"
}
compileSdkVersion safeExtGet('compileSdkVersion', 31)

defaultConfig {
Expand Down

0 comments on commit 694c54e

Please sign in to comment.