Skip to content

[Help wanted] Convert to file:// path #7

@SebT

Description

@SebT

Hi,

It is specified in the README that we can only upload files with a path starting with file://.

I'm using react-native-camera to record a video that I want to upload and the path returned starts with assets-library:// on iOS. I've been searching but I haven't found any way to convert this path to a file:// path.

I come from cordova and I used to call resolveLocalFileSystemURL(assetLibraryFilePath) to get the file:// but I can't seem to find an equivalent in react-native :(

Any help please ?

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