react-native/Libraries
Fabian Eichinger 90403154a2 Snapshot the Set of listeners when dispatching a BackAndroid event
Summary:
…while an event is dispatched

While it is guarded, a copy of the Set is created before listeners are added or removed. The event dispatch loop continues with the old Set of listeners.

This PR modifies `BackAndroid` to match the proposal at the end of #5781.
Closes https://github.com/facebook/react-native/pull/5783

Reviewed By: svcscm

Differential Revision: D2911282

Pulled By: foghina

fb-gh-sync-id: 34964ec3414af85eb9574bbcef081238fc67ffaf
2016-02-08 03:23:35 -08:00
..
ART Fixed ART background color 2016-01-08 15:42:32 -08:00
ActionSheetIOS ActionSheetIOS support for presentation from modal view controller 2016-01-12 03:14:35 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated Deploy v0.21.0 2016-02-01 17:13:35 -08:00
AppRegistry Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
AppState Tweak docs before releasing 0.19 2016-01-30 17:11:28 -08:00
AppStateIOS Made Map & Set polyfills available globally 2016-01-20 08:27:38 -08:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll Tweak docs before releasing 0.19 2016-01-30 17:11:28 -08:00
Components Emend the comment 2016-02-07 07:13:32 -08:00
CustomComponents NavigationExperimental 2016-02-05 14:26:35 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools Use pre-bundled elements inspector 2015-10-29 11:21:32 -07:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation Expose option for distance filtering on location updates. 2016-02-05 16:55:33 -08:00
Image Fix CPU spike: should use UIGraphicsEndImageContext rather than UIGraphicsGetCurrentContext 2016-01-28 14:25:35 -08:00
Inspector Fix inspector for displaying styles' value 2016-02-05 16:30:39 -08:00
Interaction Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
JavaScriptAppEngine Fix SourceMap loading on Android 2016-02-02 12:21:34 -08:00
LayoutAnimation Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
Linking Add cross-platform Linking module 2016-01-26 14:34:31 -08:00
LinkingIOS Fix import of LinkingIOS on Android 2016-02-02 09:25:36 -08:00
Modal Improve Modal docs describing iOS only support 2015-12-05 18:48:28 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
NavigationExperimental NavigationExperimental 2016-02-05 14:26:35 -08:00
Network Fix XMLHttpRequest.abort() not functional due to incorrect lazy loading in RCTNetworking ObjC module 2016-02-05 15:08:29 -08:00
Picker Added support for styling the PickerIOS 2015-12-08 07:48:26 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Allow customized refreshControl in ScrollView for Android 2016-02-02 07:12:32 -08:00
PushNotificationIOS Made Map & Set polyfills available globally 2016-01-20 08:27:38 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Replace direct access of NativeModules.UIManager with require('UIManager') 2016-01-30 07:36:34 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS Allow customized refreshControl in ScrollView for Android 2016-02-02 07:12:32 -08:00
ReactNative Add Children.toArray to ReactNative 2016-02-05 16:59:09 -08:00
Sample Remove invariant of Sample.ios.js that is not used 2015-05-26 18:25:00 -07:00
Settings Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Storage multiGet breaking test and fix 2016-02-05 16:45:46 -08:00
StyleSheet Change internal format from 0xaarrggbb to 0xrrggbbaa 2016-02-07 10:14:29 -08:00
Text Add support for `textAlign` on iOS multiline text input 2016-02-07 12:38:36 -08:00
Utilities Snapshot the Set of listeners when dispatching a BackAndroid event 2016-02-08 03:23:35 -08:00
Vibration Text highlighting on iOS 2015-07-24 08:41:58 -08:00
WebSocket Improve Chrome debugger 2016-02-05 15:17:33 -08:00
react-native NavigationExperimental 2016-02-05 14:26:35 -08:00
vendor Reimplement color processing 2016-01-29 09:13:32 -08:00
Promise.js Add support for promise rejection tracking 2016-01-07 12:02:56 -08:00