react-native/Libraries/Components
DracoBlue f95153ed52 Loading-State when reloading Android WebView
Summary:
This commit enables state WebViewState before triggering reload on WebView. This will (if defined) trigger the loading screen again.

On iOS the LoadingIndicator will be called whenever you reload the WebView. On Android this feature is missing (see #11013). This PR adds this behaviour.

Important: One might think that "onLoadStart" is the right area to add this code, but on Android onLoadStart will also trigger for sub-resources -> the loading screen will also appear when loading iframes on the same page. I expect thats why this was not added in first place.

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Closes https://github.com/facebook/react-native/pull/15538

Differential Revision: D5653257

Pulled By: hramos

fbshipit-source-id: 908b82ddaf2c34048bcb833bc07e03ab68d09467
2017-08-17 15:48:07 -07:00
..
AccessibilityInfo iOS: Introduce API for making screen reader announcements 2017-05-30 04:46:08 -07:00
ActivityIndicator Add suppressions for Flow v0.53.0 before React changes 2017-08-17 05:18:33 -07:00
AppleTV Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
Clipboard Remove deprecated APIs and modules 2016-10-11 07:43:52 -07:00
DatePicker Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
DatePickerAndroid Fixed a typo in open function documentation 2017-04-18 15:36:20 -07:00
DrawerAndroid Expose StatusBar height and fix StatusBar example - T13591448 2017-08-15 11:11:39 -07:00
Keyboard Libraries/Shared --> Libraries/www-shared, EventEmitter --> vendor/emitter 2017-07-21 09:40:15 -07:00
MaskedView use propTypes directly 2017-07-20 03:19:45 -07:00
Navigation Fix destructuring-style PropTypes references 2017-08-09 23:52:51 -07:00
Picker Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ProgressBarAndroid Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ProgressViewIOS Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
RefreshControl Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ScrollView Add suppressions for Flow v0.53.0 before React changes 2017-08-17 05:18:33 -07:00
SegmentedControlIOS Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Slider Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
StatusBar Expose StatusBar height and fix StatusBar example - T13591448 2017-08-15 11:11:39 -07:00
Switch Add suppressions for Flow v0.53.0 before React changes 2017-08-17 05:18:33 -07:00
TabBarIOS Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
TextInput Add suppressions for Flow v0.53.0 before React changes 2017-08-17 05:18:33 -07:00
TimePickerAndroid Clean unused import modules. 2016-10-16 11:13:40 -07:00
ToastAndroid Expose offset parameters for ToastAndroid 2017-08-04 09:07:21 -07:00
ToolbarAndroid Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Touchable Add suppressions for Flow v0.53.0 before React changes 2017-08-17 05:18:33 -07:00
UnimplementedViews Make UnimplementedView invisible in prod 2017-06-06 09:45:15 -07:00
View Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
ViewPager add peeking feature in AndroidViewPage(RN) 2017-06-30 22:21:06 -07:00
WebView Loading-State when reloading Android WebView 2017-08-17 15:48:07 -07:00
Button.js Clearer code in Button.js 2017-06-27 11:33:34 -07:00
LazyRenderer.js Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ScrollResponder.js Add support for flashScrollIndicators on iOS 2017-06-06 13:06:48 -07:00
StaticContainer.react.js Rename files to match @providesModule annotations 2017-02-03 15:58:58 -08:00
StaticRenderer.js Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00