Skip to content

Commit 1f1bd87

Browse files
Move namespace definition to build.gradle (#2745)
* move namespace defenition to build.gradle file * define namespace in build.gradle for module
1 parent 2bae1de commit 1f1bd87

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

android/app/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ def DEFAULT_TARGET_SDK_VERSION = 26
66
def DEFAULT_MIN_SDK_VERSION = 16
77

88
android {
9+
namespace "com.microsoft.codepush.react"
10+
911
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
1012
buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
1113

android/app/src/debug/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.microsoft.codepush.react">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32

43
<uses-permission android:name="android.permission.INTERNET" />
54

android/app/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.microsoft.codepush.react">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32

43
<uses-permission android:name="android.permission.INTERNET" />
54

android/build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ buildscript {
1414
}
1515

1616
allprojects {
17+
android {
18+
namespace "com.microsoft.codepush.react"
19+
}
1720
repositories {
1821
mavenLocal()
1922
mavenCentral()

0 commit comments

Comments
 (0)