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

ResizeOptions doesn't work on IOS #105

Open
VadimZhuk0v opened this issue Oct 21, 2024 · 0 comments
Open

ResizeOptions doesn't work on IOS #105

VadimZhuk0v opened this issue Oct 21, 2024 · 0 comments

Comments

@VadimZhuk0v
Copy link

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

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

No branches or pull requests

1 participant