Skip to content

[iOS] Multiple request handler error when uploading a photo from assets-library #9031

@halilb

Description

@halilb

I'm getting the following error when I try uploading a photo from asset-library.

The RCTURLRequestHandlers RCTImageLoader and RCTAssetsLibraryRequestHandler both reported that they can handle the request { URL: assets-library://asset/asset.JPG?id=9F983&ext=JPG}, and have equal priority (0). This could result in non-deterministic behavior.

You can reproduce the problem by opening XMLHttpRequest example from UIExplorer project and simply tapping on Upload button.

I tracked down the problem and it seems it's introduced with commit 98f06c8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions