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.

Android 10 / 11 Permissions issue

See original GitHub issue

With the new OS the permission WRITE_EXTERNAL_STORAGE got deprecated. And now need to use scope storage.

More here

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ravindu1024commented, Dec 1, 2020

@Canato Sorry mate, was super busy. I updated the PR to remove some unwanted changes I had made. We don’t really need the Provider or the Authority. The magic is in how we request the intent: galleryIntent.addCategory(Intent.CATEGORY_OPENABLE);. All devices should support this, technically. This works for all API levels including 30.

0reactions
Canatocommented, Dec 1, 2020
    <intent>
        <action android:name="android.media.action.IMAGE_CAPTURE" />
    </intent>
</queries>

i put this in manifest it shows me camera and files to select image but camera is still not working i’m getting null in intent data @Canato

@akkie2106 please open a new issue with more information. What part of the code you get the null, OS, etc

I believe I know a solution 😄 just need to be sure is the same topic

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permissions updates in Android 11 - Android Developers
Starting in Android 11, if the user taps Deny for a specific permission more than once during your app's lifetime of installation on...
Read more >
Android 11 Scoped storage permissions - Stack Overflow
On Android 11, apps can no longer access files in any other app's dedicated, app-specific directory within external storage. Apps that run on ......
Read more >
Use of All files access (MANAGE_EXTERNAL_STORAGE ...
Google Play restricts the use of high risk or sensitive permissions, including a special app access called All files access. This is only...
Read more >
How to manage app permissions in Android 11 | TechRepublic
How to adjust permissions on Android 11. To locate the Permission Manager, open the Settings app and then tap Privacy. In the resulting...
Read more >
Still unable to get USB Video device permission on Android 10
The attachment contains two apps can reproduce this issue on Android 10. The app "USBCamera-target-API-27.apk" can pop up USB permission dialog normally ...
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