Skip to content

Error on iOS with RNFS.read function #1246

Open
@keithdmoore

Description

@keithdmoore

When attempting to read a file with RNFS.read like this:

const chunk = await RNFS.read(uri, CHUNK_SIZE, position, 'base64')

I get this error:
[Error: RNFSManager.read(): Error while converting JavaScript argument 1 to Objective C type NSInteger. Objective C type NSInteger is unsupported.]

"react-native-fs": "^2.20.0",
"react-native": "0.76.5",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions