onseok/peekaboo

ResizeOptions doesn't work on IOS

VadimZhuk0v opened this issue · 0 comments

Resize option doesn't work on IOS, android works good

Code example:

    val coroutineScope = rememberCoroutineScope()
    val imagePicker = rememberImagePickerLauncher(
        selectionMode = SelectionMode.Single,
        scope = coroutineScope,
        onResult = viewModel::avatarSelected,
        resizeOptions = ResizeOptions(
            width = 800,
            height = 800,
            resizeThresholdBytes = 1048576L,
            compressionQuality = 1.0,
        ),
    )

Environment:
IOS version: 18.0.1
Peekaboo: 0.5.2
kotlin: 2.0.21
compose-plugin: 1.7.0