Skip to content

Saving file with overwrite makes file unreadable by android OS #43

@BitBlueDevStudio

Description

@BitBlueDevStudio

Dont understand why owner closed #27 and #39
This is the real bug, althought it is not completely from package developer. Anyway, it is fixable.

The problems in setting mime type for /, that makes android set (1) after extension.

Simple workaround is just to fork this plugin and in FIleDialog.kt remove this line in saveFile method
applyMimeTypesFilterToIntent(mimeTypesFilter, intent)

and set your mime type hardcoded:
intent.type = "audio/mpeg

@kinex ideal would be atleast ability to set your mime type directly, and not like you did in applyMimeTypesFilterToIntent.
Or actually investigate this bug and possible better workarounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions