breautek commented on issue #222: URL: https://github.com/apache/cordova-plugin-geolocation/issues/222#issuecomment-1575918344
Unfortunately the two plugins conflicts because they and this plugin boht uses `<config-file>` directive which **always** inserts the contents into the target which obviously leads into duplicates. In order to use this plugin alongside with google maps plugin, a hook will probably have to be made to dedupe the android manifest entry. And `after_prepare` hook to scan and remove one occurence `<uses-feature android:name="android.hardware.location.gps" />` should do it (along with any other duplicates caused by the same issue). Manually modifying the project will work, but there are many actions that may cause the project to be re-prepared/reconstructed and you'll have to remember to manually fix it each time that happens, whereas the hook can automate that for you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
