react-native/RNTester/RNTesterUnitTests
Janic Duplessis ef23d2bdcf Show bundle download progress on iOS
Summary:
This shows progress for the download of the JS bundle (different from the packager transform progress that we show already). This is useful especially when loading the JS bundle from a remote source or when developing on device (on simulator + localhost it pretty much just downloads instantly). This will be nice for the expo client since all bundles are loaded over the network and can take several seconds to load.

This depends on https://github.com/facebook/metro-bundler/pull/28 to work but won't crash or anything without it, it just won't show the progress percentage.

![img_05070155d2cc-1](https://user-images.githubusercontent.com/2677334/28293828-2c08d974-6b24-11e7-9334-e106ef3326d9.jpeg)

**Test plan**
Tested that bundle download progress is shown properly in RNTester on both localhost + simulator and on real device with network conditionner to simulate a slow loading bundle.

Tested that it doesn't cause issues if the packager doesn't send the Content-Length header.
Closes https://github.com/facebook/react-native/pull/15066

Differential Revision: D5449073

Pulled By: shergin

fbshipit-source-id: 43a8fb559393bbdc04f77916500e21898695bac5
2017-08-14 11:05:35 -07:00
..
OCMock Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
Info.plist Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTAllocationTests.m Replace exported method registration with statically allocated struct 2017-07-24 07:01:53 -07:00
RCTAnimationUtilsTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTBridgeTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTBundleURLProviderTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTComponentPropsTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTConvert_NSURLTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTConvert_YGValueTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTDevMenuTests.m Make RCTSamplingProfilerPackagerMethod not depend on RCTBridge 2017-06-15 12:07:34 -07:00
RCTEventDispatcherTests.m More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00
RCTFontTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTGzipTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTImageLoaderHelpers.h Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTImageLoaderHelpers.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTImageLoaderTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTImageUtilTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTJSCExecutorTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTJSONTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTMethodArgumentTests.m Add support for Cxx objects as arguments to native modules 2017-08-14 05:22:17 -07:00
RCTModuleInitNotificationRaceTests.m Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
RCTModuleInitTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTModuleMethodTests.mm Fix missing files in OSS build 2017-07-26 05:47:22 -07:00
RCTMultipartStreamReaderTests.m Show bundle download progress on iOS 2017-08-14 11:05:35 -07:00
RCTNativeAnimatedNodesManagerTests.m Native Animated - Support Animated.loop on iOS 2017-05-26 03:30:33 -07:00
RCTShadowViewTests.m Several layout related helper methods of RCTShadowView was moved to new (+Layout) category. 2017-05-08 11:31:20 -07:00
RCTUIManagerTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTURLUtilsTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RCTUnicodeDecodeTests.m Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
RNTesterUnitTestsBundle.js Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
libOCMock.a Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00