Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 10 / 11 Permissions issue #3

Closed
Canato opened this issue Nov 27, 2020 · 6 comments · Fixed by #10
Closed

Android 10 / 11 Permissions issue #3

Canato opened this issue Nov 27, 2020 · 6 comments · Fixed by #10
Assignees
Milestone

Comments

@Canato
Copy link
Member

Canato commented Nov 27, 2020

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

More here

@Canato Canato added the bug label Nov 27, 2020
@Canato Canato self-assigned this Nov 27, 2020
@Canato Canato linked a pull request Nov 29, 2020 that will close this issue
@akkie2106
Copy link

still not getting URI From Camera Image

@Canato
Copy link
Member Author

Canato commented Nov 30, 2020

Hey @akkie2106 this is not fixed yet, will be in 1.1.0, this issue still open ^^
1.0.0 is just a copy from previous lib

@akkie2106
Copy link

OK

@akkie2106
Copy link

    <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

@ravindu1024
Copy link
Contributor

@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.

@Canato
Copy link
Member Author

Canato commented 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants