Skip to content

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported #655

Open

Description

@VikasReactNative

Task :react-native-splash-screen:processDebugManifest
package="org.devio.rn.splashscreen" found in source AndroidManifest.xml: C:\Users\shahv\Documents\Divinecart-Mobile\node_modules\react-native-splash-screen\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="org.devio.rn.splashscreen" from the source AndroidManifest.xml: C:\Users\shahv\Documents\Divinecart-Mobile\node_modules\react-native-splash-screen\android\src\main\AndroidManifest.xml.
image

{
"name": "Divinecart",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@react-native-firebase/app": "^21.0.0",
"@react-native-firebase/messaging": "^21.0.0",
"react": "18.3.1",
"react-native": "0.75.4",
"react-native-splash-screen": "^3.3.0",
"react-native-webview": "^13.12.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "0.75.4",
"@react-native/eslint-config": "0.75.4",
"@react-native/metro-config": "0.75.4",
"@react-native/typescript-config": "0.75.4",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "18.3.1",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}
}

Activity

  1. VikasReactNative commented on Oct 12, 2024

    @VikasReactNative
    Author

    solution work for me

    node_modules\react-native-splash-screen\android\build.gradle
    add-> namespace 'org.devio.rn.splashscreen'
    node_modules\react-native-splash-screen\android\src\main\AndroidManifest.xml
    remove package="org.devio.rn.splashscreen"

  2. Elozino commented on Nov 4, 2024

    @Elozino

    Mine isn't even building

  3. fynally commented on Dec 26, 2024

    @fynally

    namespace 'org.devio.rn.splashscreen'

    Please area inside the build.gradle exactly is this gonna go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions