Agontuk / react-native-geolocation-service

React native geolocation service for iOS and android
https://www.npmjs.com/package/react-native-geolocation-service
MIT License
1.61k stars 291 forks source link

Namespace in AndroidManifest no longer supported #441

Open yousrasd opened 1 month ago

yousrasd commented 1 month ago

Platforms

Android

Versions

Please add the used versions/branches

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:

dieptang commented 2 weeks ago

same here. seems project is dead. You should move to https://github.com/michalchudziak/react-native-geolocation