Skip to content

Unable to call API with Fetch, with React native version 0.45. [TypeError: Network request failed] #14744

Closed
@proactive-solutions

Description

@proactive-solutions

I am Unable to call API with Fetch library. Below are the details.

from console log, my URL is already using HTTPS and I have also added Allow Arbitrary Loads key in info.plist

Jun 27 16:23:36 Administrators-Mac-mini Experiments[38809] : { [TypeError: Network request failed]
line: 15459,
column: 29,
sourceURL: 'http://localhost:8081/index.ios.bundle?platform=ios&dev=true&minify=false' }

error

info-plist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions