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

Extension fun Activity.selectPhoto() in PhotoPicker.kt does not work in APIs 30 and up #314

Closed
vestrel00 opened this issue Sep 7, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vestrel00
Copy link
Owner

Problem

Calling fun Activity.selectPhoto() in devices running API 30+ will fail to open a photo picker.

before.mov

API 29 and below works just fine.

Solution

Use this answer from StackOverflow, which seems to fix the issue =)

https://stackoverflow.com/a/5309217

@vestrel00 vestrel00 added the bug Something isn't working label Sep 7, 2023
@vestrel00 vestrel00 self-assigned this Sep 7, 2023
@vestrel00 vestrel00 added this to In progress in Consumer issues Sep 7, 2023
@vestrel00
Copy link
Owner Author

It's fixed!

after.mov

@vestrel00 vestrel00 moved this from In progress to Done in Consumer issues Sep 7, 2023
@vestrel00
Copy link
Owner Author

🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥
This is now release in 0.3.1!
🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant