Skip to content

openFileSaver not added with libraries 0.13.0 #543

@mylockerbiz

Description

@mylockerbiz

I just upgraded to 0.13.0. As soon as i did, i had to remove the rememberFileSaverLauncher is unavailable.
using these
#FileKit
filekit = "0.13.0"

        implementation(libs.filekit.core)
        implementation(libs.filekit.dialogs)
        implementation(libs.filekit.dialogs.compose) 

also tried
implementation("io.github.vinceglb:filekit-core:0.13.0")
implementation("io.github.vinceglb:filekit-dialogs:0.13.0")
implementation("io.github.vinceglb:filekit-dialogs-compose:0.13.0")

import io.github.vinceglb.filekit.dialogs.openFileSaver - unresolved

openFilePicker does appear
writeString also does not appear in the import list.

Image Image

usage:

							val file: PlatformFile? = FileKit.openFileSaver(
									suggestedName = esm.getFileName(exportFileType.value),
									extension = "json",  // or dynamically from type
							)
							if (file != null)
							{
								file.writeString(content)
							}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions