Skip to content

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

@dougg0k

Description

@dougg0k

Environment

info Fetching system and libraries information...
System:
  OS: Linux 6.15 Arch Linux
  CPU: (16) x64 AMD Ryzen 7 5800X3D 8-Core Processor
  Memory: 8.92 GB / 31.24 GB
  Shell:
    version: 0.104.1
    path: /home/user/.cargo/bin/nu
Binaries:
  Node:
    version: 22.16.0
    path: ~/.local/share/mise/installs/node/22.16.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.local/share/mise/installs/yarn/1.22.22/bin/yarn
  npm:
    version: 10.9.2
    path: ~/.local/share/mise/installs/node/22.16.0/bin/npm
  Watchman:
    version: 20250525.093350.0
    path: /usr/bin/watchman
SDKs:
  Android SDK:
    API Levels:
      - "35"
      - "36"
    Build Tools:
      - 35.0.0
      - 35.0.1
      - 36.0.0
    System Images:
      - android-36 | Google APIs Intel x86_64 Atom
    Android NDK: 27.2.12479018
IDEs:
  Android Studio: AI-243.26053.27.2432.13536105
Languages:
  Java:
    version: 21.0.2
    path: /home/user/.local/share/mise/installs/java/21.0.2/bin/javac
  Ruby:
    version: 3.4.4
    path: /home/user/.local/share/mise/installs/ruby/3.4.4/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 19.0.0
    wanted: ^19.0.0
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.79.3
    wanted: 0.79.3
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Platforms

Android

Versions

  • react-native-geolocation: "3.4.0"
  • react-native: "0.79.3"
  • react: "19.1.0"

Description

> Task :react-native-community_geolocation:processDebugManifest
package="com.reactnativecommunity.geolocation" found in source AndroidManifest.xml: /some_app/node_modules/@react-native-community/geolocation/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="com.reactnativecommunity.geolocation" from the source AndroidManifest.xml: /some_app/node_modules/@react-native-community/geolocation/android/src/main/AndroidManifest.xml.

Reproducible Demo

Add the lib in the a new bootstrapped project and run android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions