question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Removing location from Android manifest still loads the permission in app

See original GitHub issue

Bug Report

I remove these from the Manefest but they are still being loaded by capacitor. Google will delete apps targeted to children if location services are enabled. Further more, why are these being loaded and ignored by the manifest?

<!- Geolocation API ->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />

Capacitor Version

Latest Dependencies:

@capacitor/cli: 2.4.5 @capacitor/core: 2.4.5 @capacitor/android: 2.4.5 @capacitor/electron: 2.4.5 @capacitor/ios: 2.4.5

Installed Dependencies:

@capacitor/cli 2.4.5 @capacitor/android 2.4.5 @capacitor/core 2.4.5 @capacitor/ios 2.4.5 @capacitor/electron not installed

[success] Android looking great! 👌 Found 4 Capacitor plugins for ios: cordova-plugin-inapppurchase (1.2.0) cordova-plugin-screen-orientation (3.0.2) cordova-plugin-streaming-media (2.3.0) es6-promise-plugin (4.2.2) [success] iOS looking great! 👌

PASTE OUTPUT HERE

Platform(s)

Current Behavior

Expected Behavior

Code Reproduction

Other Technical Details

npm --version output:

node --version output:

pod --version output (iOS issues only):

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
modemloopercommented, Jan 15, 2021

Yup, going to update app and do testing. 🤗

0reactions
ionitron-bot[bot]commented, Nov 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Request location permissions - Android Developers
If the user grants the approximate location permission, your app only has access to approximate location, regardless of which location permissions your app...
Read more >
"Allow all the time" location prompt not coming in Android SDK ...
I have added that permission request in the manifest and I still do not get the "Allow all the time" option, just "Allow...
Read more >
Use of All files access (MANAGE_EXTERNAL_STORAGE ...
If your app does not require access to the MANAGE_EXTERNAL_STORAGE permission, you must remove it from your app's manifest in order to successfully...
Read more >
Allow apps to specify optional permissions in the manifest
A user, should be able to change app permissions, either at install stage or later. An app can request any permissions, say for...
Read more >
Firebase Android SDK Release Notes - Google
Removed unintended disk IO on the main thread at app startup. ... AD_ID permission in the SDK's manifest which is automatically merged into...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found