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

File Picker Document in iOS cannot selected #185

Open
azisanw19 opened this issue Oct 4, 2024 · 1 comment
Open

File Picker Document in iOS cannot selected #185

azisanw19 opened this issue Oct 4, 2024 · 1 comment

Comments

@azisanw19
Copy link

val documentPickerResult = remember { mutableStateListOf<KmpFile>() }
    val pickerLauncherDocument = rememberFilePickerLauncher(
        type = FilePickerFileType.Document,
        selectionMode = FilePickerSelectionMode.Single,
        onResult = { listKmpFile ->
            documentPickerResult.addAll(listKmpFile)
        }
    )

Document cannot be selected.

@azisanw19 azisanw19 changed the title File Picker Document io iOS not working File Picker Document in iOS cannot selected Oct 4, 2024
@MohamedRejeb
Copy link
Owner

Hi,
What are you trying to select exactly, what type of documents?
FilePickerFileType.Document is going to filter files with this mime type: "application/*"

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

2 participants