-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(android): actions being saved when open launchImageLibrary #1928
fix(android): actions being saved when open launchImageLibrary #1928
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
## [4.7.3](v4.7.2...v4.7.3) (2022-01-28) ### Bug Fixes * **android:** actions being saved when open launchImageLibrary ([#1928](#1928)) ([bcae866](bcae866))
🎉 This PR is included in version 4.7.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Johan-dutoit it helped just for Android 11, not working for Android 10 and some samsung devices on Android 12 |
Hi @slolkunchik , did you solve this problem? |
## [4.7.3](react-native-image-picker/react-native-image-picker@v4.7.2...v4.7.3) (2022-01-28) ### Bug Fixes * **android:** actions being saved when open launchImageLibrary ([#1928](react-native-image-picker/react-native-image-picker#1928)) ([928cae5](react-native-image-picker/react-native-image-picker@928cae5))
Still facing this issue until assigning default gallery app. |
Thanks for submitting a PR! Please read these instructions carefully:
What existing problem does the pull request solve?
Action popup always show when picking up an image.
When two or more image library apps are installed in users device, then this action popup contains those apps and ask us which one to use. Normally Android takes care of this and asks if you want to save your option.
Function
createChooser
always enforces this action to being taken.Here is an example of it
![Screenshot 2022-01-25 at 23 53 29](https://user-images.githubusercontent.com/51513565/151388254-9c7e7137-9649-47a8-93c4-d356950058dd.png)
And here is how it gets when removing
![Screenshot 2022-01-27 at 15 17 55](https://user-images.githubusercontent.com/51513565/151388457-bebedc0e-d8c7-486b-b38c-95d365eb428a.png)
createChooser
function