Skip to content

Bug: App crash on IOS when spamming image selection from photo library #392

@ThanhTDApero

Description

@ThanhTDApero

When the user rapidly clicks (spam taps) to select images in the Photo Library, the app experiences issues:

  • App crashes

Steps to Reproduce

  1. Open the Photo Library in the app
  2. Rapidly tap to select single images (spam taps)
  3. Observe the behavior

Expected Behavior

  • The app should remain smooth without crashing
  • Images should be selected correctly according to user actions

Actual Behavior

  • The app crashes / freezes / selects incorrect images

Environment

  • iOS
  • library "0.10.0-beta04"

LogBug

FileKit.ios.kt - Line 302
kfun:io.github.vinceglb.filekit.dialogs.callPhPicker$2.callPhPicker$2$invoke$$inlined$suspendCoroutine$$FUNCTION_REFERENCE_FOR$resume$0.$invoke(kotlin.collections.List<platform.PhotosUI.PHPickerResult>){}#internal + 302
.../filekit-dialogs/src/iosMain/kotlin/io/github/vinceglb/filekit/dialogs/util/PhPickerDelegate.kt


Metadata

Metadata

Assignees

Labels

nextScheduled for the next version

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions