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

Initial permission request during direct upload does not take user to gallery/camera #1420

Closed
misaochan opened this issue Apr 3, 2018 · 2 comments

Comments

@misaochan
Copy link
Member

Summary:

Initial permission request during direct upload does not take user to gallery/camera

Steps to reproduce:

Clear permissions, then try to upload from the Nearby list/map

Expected behavior:

Take user to gallery/camera after they approve permissions

Observed behavior:

Does not take user to gallery/camera

Device and Android version:

API 26 Samsung Galaxy s7

Commons app version:

2.7.0 beta

Would you like to work on the issue?

I'll pick it up if nobody else wants it

@misaochan
Copy link
Member Author

Annoyingly, I have tried several different solutions to no avail. My current code mirrors that of ContributionListFragment.java 's exactly, yet it seems to work for ContributionListFragment but not for NearbyMapFragment.

Posted on StackOverflow https://stackoverflow.com/questions/49635619/onrequestpermissionsresult-not-called-in-fragment-tried-all-solutions-i-could , will see if anyone has any answers.

@misaochan
Copy link
Member Author

Ah, I think I might have found the solution. Will tidy up and submit PR ASAP. :)

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

No branches or pull requests

2 participants