From 1f1bd8721f5a8baa67d07218272a0cf873cfb06b Mon Sep 17 00:00:00 2001 From: MikhailSuendukov <110986399+MikhailSuendukov@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:17:34 +0200 Subject: [PATCH] Move namespace definition to build.gradle (#2745) * move namespace defenition to build.gradle file * define namespace in build.gradle for module --- android/app/build.gradle | 2 ++ android/app/src/debug/AndroidManifest.xml | 3 +-- android/app/src/main/AndroidManifest.xml | 3 +-- android/build.gradle | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 68ae7292f..43744af4e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -6,6 +6,8 @@ def DEFAULT_TARGET_SDK_VERSION = 26 def DEFAULT_MIN_SDK_VERSION = 16 android { + namespace "com.microsoft.codepush.react" + compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index 8b06deb71..df32a1faf 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,4 @@ - + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 9b2755f75..b07e42801 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - + diff --git a/android/build.gradle b/android/build.gradle index b1b264a4b..31a524838 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -14,6 +14,9 @@ buildscript { } allprojects { + android { + namespace "com.microsoft.codepush.react" + } repositories { mavenLocal() mavenCentral()