Skip to content

Commit fbc9a00

Browse files
authored
fix(Android): fix warning by removing package declaration from AndroidManifest (#2603)
## Description See the discussion: #2597 (comment) ## Changes Removed the package declaration from Android Manifest. ## Test code and steps to reproduce Passing build should be enough. ## Checklist - [x] Ensured that CI passes
1 parent bc24731 commit fbc9a00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,10 @@ def IS_NEW_ARCHITECTURE_ENABLED = isNewArchitectureEnabled()
9999

100100
android {
101101
compileSdkVersion safeExtGet('compileSdkVersion', rnsDefaultCompileSdkVersion)
102+
namespace "com.swmansion.rnscreens"
103+
102104
def agpVersion = Version.ANDROID_GRADLE_PLUGIN_VERSION
103105
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
104-
namespace "com.swmansion.rnscreens"
105106
buildFeatures {
106107
buildConfig true
107108
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.swmansion.rnscreens">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
</manifest>

0 commit comments

Comments
 (0)