Skip to content

Namespace in AndroidManifest no longer supported #441

Open
@yousrasd

Description

@yousrasd

Platforms

Android

Versions

Please add the used versions/branches

  • Android: target sdk 34
  • react-native-geolocation-service: 5.3.0
  • react-native: 0.72.10

Description

Getting build error for Android on my CICD pipeline on this lib which is causing my builds to fail.

Error:
package="com.agontuk.RNFusedLocation" found in source AndroidManifest.xml: /node_modules/react-native-geolocation-service/android/src/main/AndroidManifest.xml. [20:25:21]: ▸ **Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.** [20:25:21]: ▸ Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here:https://developer.android.com/studio/build/configure-app-module#set-namespace`

Seems like using package in AndroidManifest is now deprecated. We should switch to namespace.
Ref:

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