Skip to content

Android getColumnIndex issue #779

Open
@thanhhuan1990

Description

@thanhhuan1990
  • React Native version: 0.64.0
  • rn-fetch-blob version: 0.12.0

My application is failed to build for android because of an issue in java code:

RNFetchBlobReq.java:741: Error: Value must be ≥ 0 [Range]
int statusCode = c.getInt(c.getColumnIndex(DownloadManager.COLUMN_STATUS));

Please help to recheck, it should be getColumnIndexOrThrow
Thanks

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