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.

Here we have some default permissions

  1. How can I remove them?
  3. I am always using getApplicationDocumentsDirectory so I think READ_EXTERNAL_STORAGE is redundant , right?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

crazecodercommented, Apr 19, 2021

For ease of use, the required permissions are written in the plugin. If you don’t need them, you can remove them like this

<manifest xmlns:android=""
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
micsan13brcommented, Apr 26, 2021

These permissions should not be included by default and should be moved to the readme page. “Don’t unnecessarily request storage-related permissions for devices that run Android 10 or higher”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permissions on Android - Android Developers
... <data> · <grant-uri-permission> · <instrumentation> · <intent-filter> · <manifest> ... Best practices for sharing video · Additional Resources for Media.
Read more >
Extra permissions are being added to apk and bundle
When I build apk or bundle dangerous permissions like write external storage is being added to manifest. I found out it when wanted...
Read more >
Change app permissions on your Android phone - Google Help
On your phone, open the Settings app. · Tap Apps. · Tap the app you want to change. If you can't find it,...
Read more >
Permissions Property - Business Central | Microsoft Learn
Sets whether an object has additional permission required to perform some operations on one or more tables.
Read more >
Requesting additional permissions | Authentication
When requesting user permission to access user data or other resources, you can request all scopes up-front in the initial request or ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found