Skip to content

Commit

Permalink
Use namespace conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Jul 3, 2023
1 parent 327160a commit 83cd344
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand Down

0 comments on commit 83cd344

Please sign in to comment.