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 0fc34a1 commit d42ef39
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.rnlocalize"
buildToolsVersion safeExtGet("buildToolsVersion", "33.0.0")
compileSdkVersion safeExtGet("compileSdkVersion", 33)

if (project.android.hasProperty("namespace")) {
namespace "com.zoontek.rnlocalize"
}
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-localize",
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",
"description": "A toolbox for your React Native app localization.",
"author": "Mathieu Acthernoene <[email protected]>",
Expand Down

0 comments on commit d42ef39

Please sign in to comment.