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 32bdd98 commit b2a4eb8
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.rnbars"
buildToolsVersion safeExtGet("buildToolsVersion", "33.0.0")
compileSdkVersion safeExtGet("compileSdkVersion", 33)

if (project.android.hasProperty("namespace")) {
namespace "com.zoontek.rnbars"
}
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-bars",
"version": "2.2.0",
"version": "2.2.2",
"license": "MIT",
"description": "Components to control your app status and navigation bars.",
"author": "Mathieu Acthernoene <zoontek@gmail.com>",
Expand Down

0 comments on commit b2a4eb8

Please sign in to comment.