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.

Create better docs about Android permissions

See original GitHub issue

At the moment the base app includes all the permissions required by core plugins and some other Web APIs, but if the user doesn’t use those plugins or APIs he can safely remove the permissions.

We should document this better as it can cause confusion or users publishing apps with more permissions than required.

In special we should document camera permissions as it’s not even required by camera plugin, nor for input file with capture attribute as both use an intent to the camera and that doesn’t need a permission. It’s only required if using navigator.getUserMedia to capture the camera feed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jcesarmobilecommented, Jun 27, 2019

Capacitor apps ship with all the core plugins included, that means the code that requires those usage descriptions is present despite you might not be using it. If you are not really using it, it’s safe to ignore, Apple is telling you to be aware of it or in case you forgot, because if you use it but don’t add the usage descriptions the app will crash. But if you are not using it nothing bad will happen.

About the push entitlement, that warning can be disabled, see https://capacitor.ionicframework.com/docs/apis/push-notifications#disabling-push-notifications-plugin

0reactions
ionitron-bot[bot]commented, Nov 14, 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

Permissions on Android - Android Developers
Android Developers · Docs More. Platform Android Studio Google Play Jetpack Kotlin Games. Language. English · Bahasa Indonesia · Español – América Latina ......
Read more >
Change app permissions on your Android phone
Change permissions based on their type · On your phone, open the Settings app. · Tap Privacy And then Permission manager. · Tap...
Read more >
Change your app permissions on Android
1. From the bottom of your screen, swipe up. 2. To change an app’s permissions, touch and hold the app. 3. Tap App...
Read more >
Get Started | Android - Google Developers
App prerequisites · Use Android Studio 3.2 or higher · Make sure that your app's build file uses the following values: A minSdkVersion...
Read more >
Firebase IAM permissions
For more information, refer to the Google Cloud documentation about Runtime Configurator Access. ... You can use these permissions to create custom roles....
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