Skip to content

[Feature request] override extension file #430

Open
@jvinai

Description

@jvinai

I need to enforce a specific extension to the cached file whatever the MIME type of the file is.

It would be nice to have an option for that, for example:

var file = await DefaultCacheManager().getSingleFile(url, {extension: 'my'});

The end result with be a path with file:///somewhere/in/the/phone/myfile.my.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions