Skip to content

Conversation

PPacie
Copy link

@PPacie PPacie commented Feb 22, 2025

Issue: The app asks for PhotoLibrary permissions to select users pictures and this is not required.

On the one hand, there is a bug in case the user denies access to PhotoLibrary, the picker gets displayed and after selecting the image nothing happens (video permissions issue below).

On the other hand, asking for PhotoLibrary permissions is not required at all as the app doesn't need access to user's photos. We can make use of the SwiftUI's native PhotosPicker. This way the users will be able to select an image from their Photos without having to give access to all their photos to the app (also no permissions nor user's prompt is required).

⚠️ [Bug]:

video-permissions-issue.mov

✅ [PhotosPicker implementation]:

photos-picker.mov

ps: I've tested this issue in the Fish Identifier app (I assume it happens in the other 2 app identifiers too). Let me know what you think @adamlyttleapps 👍

Cheers,
Pablo.

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 this pull request may close these issues.

1 participant