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

fix: request permissions before using camera/media library in image picker #1398

Merged
merged 4 commits into from
Jul 3, 2024

Conversation

shrouxm
Copy link
Member

@shrouxm shrouxm commented May 22, 2024

Description

What it says on the tin. In draft til I can validate on iOS. Right now when you fix the permissions in settings from the slope screen and then return to the app, you need to leave/re-enter the slope screen to get the app to pick up on the change, the usePermissions hook doesn't seem to re-render the screen. not sure if there's a better workaround.

Checklist

  • Corresponding issue has been opened

Related Issues

Fixes #1328

@shrouxm shrouxm force-pushed the fix/image-picker-permisisons branch from 159d02a to 1806b42 Compare May 23, 2024 23:45
dev-client/src/App.tsx Outdated Show resolved Hide resolved
@paulschreiber paulschreiber force-pushed the fix/image-picker-permisisons branch from c3d5767 to 60fac74 Compare June 4, 2024 16:55
@paulschreiber
Copy link
Member

@shrouxm does this need any more work before it can be merged?

@shrouxm shrouxm force-pushed the fix/image-picker-permisisons branch from e766327 to 52b0843 Compare July 2, 2024 23:20
@shrouxm shrouxm marked this pull request as ready for review July 3, 2024 00:20
@shrouxm
Copy link
Member Author

shrouxm commented Jul 3, 2024

@paulschreiber it looks like the issues that were blocking merging this got fixed at some point so should be good to go once you approve!

@paulschreiber paulschreiber self-requested a review July 3, 2024 01:35
@shrouxm shrouxm merged commit 69e0969 into main Jul 3, 2024
9 checks passed
@shrouxm shrouxm deleted the fix/image-picker-permisisons branch July 3, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Check camera and photo library permissions on Soil Color screen
3 participants