Files
react-native/Libraries
Samuel Susla 2c5d4cba5c Remove requestToken being nil check from [RCTNetworkTask validateRequestToken]
Summary:
Changelog: Fix [TypeError: Network request failed] on file upload

# Problem
In https://github.com/facebook/react-native/commit/31980094107ed37f8de70972dbcc319cc9a26339 I made method `loadImageForURL` blocking and nil returning since it was no longer cancellable.

However inside `[RCTNetworkTask validateRequestToken]` was a logic counting on request token being non nil.
This diff removes this check and adds `nullable` to `[RCTImageURLLoader loadImageForURL]` making it explicit.

Reviewed By: PeteTheHeat

Differential Revision: D22767174

fbshipit-source-id: 04d5562e381912233b9c14e8156cbf145288f063
2020-09-29 09:52:59 +01:00
..
2020-04-07 19:07:19 -07:00
2020-07-22 11:24:48 +02:00
2020-02-28 12:46:49 -08:00
2020-03-30 14:05:27 -07:00
2020-04-07 19:07:19 -07:00
2020-03-27 03:58:39 -07:00
2020-04-07 19:07:19 -07:00
2020-02-28 12:46:49 -08:00
2020-03-30 14:05:27 -07:00
2020-03-30 14:05:26 -07:00
2020-04-07 19:07:19 -07:00
2020-04-08 15:35:18 -07:00
2020-04-07 19:07:19 -07:00
2020-02-21 10:34:40 -08:00