diff --git a/android/build.gradle b/android/build.gradle index ad939930..09549ddc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,9 +22,12 @@ if (isNewArchitectureEnabled()) { } android { - namespace = "com.zoontek.rnbootsplash" buildToolsVersion safeExtGet("buildToolsVersion", "33.0.0") compileSdkVersion safeExtGet("compileSdkVersion", 33) + + if (project.android.hasProperty("namespace")) { + namespace "com.zoontek.rnbootsplash" + } defaultConfig { buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()) minSdkVersion safeExtGet("minSdkVersion", 21) diff --git a/package.json b/package.json index 0b6548c8..b4719438 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-bootsplash", - "version": "4.7.3", + "version": "4.7.4", "license": "MIT", "description": "Display a bootsplash on your app starts. Hide it when you want.", "author": "Mathieu Acthernoene ",