react-native/React/Base
Nick Lockwood 46106f756a Ported `source` prop over to iOS WebView
Summary:
public
https://github.com/facebook/react-native/pull/5494 added a new `source` property to WebView on Android that provides a better API, as well as allowing for request headers to be set.

This diff ports that functionality over to iOS, so we can have a consistent API cross-platform.

I've also extended the API to include `method` (GET or POST) and `body` when setting the WebView content with a URI, and `baseUrl` when setting static HTML.

Reviewed By: javache

Differential Revision: D2884643

fb-gh-sync-id: 83f24494bdbb4e1408aa8f3b7428fee33888ae3a
2016-02-01 18:01:35 -08:00
..
RCTAssert.h Reduced work done on main thread by RCTImageLoader 2015-11-17 07:21:29 -08:00
RCTAssert.m RCTUtils Obj-C nullability annotations 2016-01-21 07:50:43 -08:00
RCTBatchedBridge.m Invalidate JS executor when loading fails 2016-01-19 14:35:33 -08:00
RCTBridge+Private.h Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
RCTBridge.h Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
RCTBridge.m Don't register classes only found at runtime 2016-01-19 11:10:32 -08:00
RCTBridgeDelegate.h Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
RCTBridgeMethod.h
RCTBridgeModule.h Standardize Error objects for Promises 2016-01-19 12:20:37 -08:00
RCTConvert.h Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTConvert.m Ported `source` prop over to iOS WebView 2016-02-01 18:01:35 -08:00
RCTDefines.h Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTEventDispatcher.h Implements `onKeyPress` 2015-11-02 09:15:31 -08:00
RCTEventDispatcher.m Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTFrameUpdate.h Pause JS DisplayLink if nothing to process. 2015-09-29 09:22:10 -07:00
RCTFrameUpdate.m
RCTImageSource.h Added RCTImageSource 2015-12-08 03:32:30 -08:00
RCTImageSource.m iOS: Fix Image source={{ uri: null }} to crash 2015-12-21 10:04:31 -08:00
RCTInvalidating.h
RCTJSMethodRegistrar.h
RCTJavaScriptExecutor.h Add context executor API for sync hooks 2016-01-05 08:00:38 -08:00
RCTJavaScriptLoader.h
RCTJavaScriptLoader.m Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTKeyCommands.h
RCTKeyCommands.m Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTKeyboardObserver.h
RCTKeyboardObserver.m Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTLog.h Provide log source to handler 2015-11-11 06:44:30 -08:00
RCTLog.m Fix default logger's loglevel, improve default error handler 2016-01-20 10:28:38 -08:00
RCTModuleData.h Fixed deadlock in RCTModuleData 2016-01-07 01:30:30 -08:00
RCTModuleData.m Fix extra native modules missing bridge after reload 2016-01-07 12:03:28 -08:00
RCTModuleMethod.h Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
RCTModuleMethod.m Standardize Error objects for Promises 2016-01-19 12:20:37 -08:00
RCTNullability.h Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTParserUtils.h Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTParserUtils.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTPerformanceLogger.h Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTPerformanceLogger.m Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTRootView.h API for cancelling RCTTouchHandler 2016-01-21 13:46:52 -08:00
RCTRootView.m API for cancelling RCTTouchHandler 2016-01-21 13:46:52 -08:00
RCTRootViewDelegate.h Prevent RCTRootView delegate call 2015-11-13 08:28:28 -08:00
RCTRootViewInternal.h Introduction of RCTRootViewDelegate 2015-10-26 15:41:36 -07:00
RCTTouchHandler.h API for cancelling RCTTouchHandler 2016-01-21 13:46:52 -08:00
RCTTouchHandler.m Improved 3D touch implementation, and added example 2016-01-27 09:05:36 -08:00
RCTURLRequestDelegate.h
RCTURLRequestHandler.h
RCTUtils.h Improved 3D touch implementation, and added example 2016-01-27 09:05:36 -08:00
RCTUtils.m Improved 3D touch implementation, and added example 2016-01-27 09:05:36 -08:00