react-native-macos/Libraries/Network
zhongwuzw 916186a7e6 Change ReactNetworkForceWifiOnly from String to Boolean (#24829)
Summary:
We provided `ReactNetworkForceWifiOnly` in https://github.com/facebook/react-native/pull/24242, but it's a string type, actually the value only YES or NO, so let's change it to Boolean type, we can benefit from:
1. Users don't need to type string `YES`, just select bool YES or NO directly by click the button:
<img width="789" alt="image" src="https://user-images.githubusercontent.com/5061845/57634311-a8af7400-75d7-11e9-9f8a-ebf865d672e3.png">

2. Don't need to do string compare.

3. More looks what it should looks, Boolean is the Boolean. :)

cc. cpojer ericlewis .

[iOS] [Changed] - Change ReactNetworkForceWifiOnly from String to Boolean
Pull Request resolved: https://github.com/facebook/react-native/pull/24829

Differential Revision: D15323685

Pulled By: cpojer

fbshipit-source-id: c626d048d0cbea46d45f232906fd3ac32a412741
2019-05-14 02:50:21 -07:00
..
RCTNetwork.xcodeproj Update Xcode projects (#19574) 2018-06-19 23:48:12 -07:00
__tests__ Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
FormData.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
NetInfo.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
RCTDataRequestHandler.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTDataRequestHandler.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTFileRequestHandler.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTFileRequestHandler.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTHTTPRequestHandler.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTHTTPRequestHandler.mm Change ReactNetworkForceWifiOnly from String to Boolean (#24829) 2019-05-14 02:50:21 -07:00
RCTNetInfo.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTNetInfo.m Fix Warnings in Xcode (#23184) 2019-01-28 03:57:42 -08:00
RCTNetworkTask.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTNetworkTask.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTNetworking.android.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
RCTNetworking.h Upload full video when passed in a PHAsset 2019-04-29 14:14:11 -07:00
RCTNetworking.ios.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
RCTNetworking.mm Upload full video when passed in a PHAsset 2019-04-29 14:14:11 -07:00
React-RCTNetwork.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
XHRInterceptor.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
XMLHttpRequest.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
convertRequestBody.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
fetch.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00