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/image-picker-launcher-duplicate-call-prevention] Fixed an issue in Android's ImagePickerLauncher where rapid clicks led to duplicate PhotoPicker instances #34

Merged
merged 2 commits into from
Dec 30, 2023

Conversation

onseok
Copy link
Owner

@onseok onseok commented Dec 30, 2023

Changes

Modified the launch() method in ImagePickerLauncher to check the isPhotoPickerActive flag, preventing further executions of onLaunch() in Android if the picker is already active.

This resolves an issue where rapid, repeated clicks triggered multiple PhotoPicker instances, enhancing the overall user experience by preventing overlapping calls.

@onseok onseok changed the title [fix/image-picker-launcher-duplicate-call-prevention] Implement duplicate call prevention in ImagePickerLauncher [fix/image-picker-launcher-duplicate-call-prevention] Implement duplicate call prevention in ImagePickerLauncher(Android) Dec 30, 2023
@onseok onseok merged commit d14450d into main Dec 30, 2023
2 checks passed
@onseok onseok deleted the fix/image-picker-launcher-duplicate-call-prevention branch December 30, 2023 11:21
@onseok onseok changed the title [fix/image-picker-launcher-duplicate-call-prevention] Implement duplicate call prevention in ImagePickerLauncher(Android) [fix/image-picker-launcher-duplicate-call-prevention] Fixed an issue in Android's ImagePickerLauncher where rapid clicks led to duplicate PhotoPicker instances Dec 30, 2023
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.

None yet

1 participant