react-native/Libraries/Utilities
Kevin Gozali 150fe7cb9c fixed polyfill for BackAndroid
Summary:
`BackAndroid.addEventListener()` returns a subscription object with a `remove()` function in android. Before this fix, the iOS equivalent doesn't return anything, which means, if there's a component doing something like this, it would redbox:

```
componentWillMount() {
  this._subscription = BackAndroid.addEventListener('hardwareBackPress', () => {...});
}

componentWillUnmount() {
  this._subscription.remove(); // --> redbox in iOS before this fix
}
```

Differential Revision: D3790480

fbshipit-source-id: 1e607171bf2892a6b64977c4fd052c5df0bc4a0d
2016-08-30 10:58:45 -07:00
..
__mocks__ Remove legacy bridge config conversion 2016-08-22 06:59:03 -07:00
__tests__ Auto-fix lint errors 2016-08-09 06:43:46 -07:00
differ Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Alert.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
AlertIOS.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
BackAndroid.android.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
BackAndroid.ios.js fixed polyfill for BackAndroid 2016-08-30 10:58:45 -07:00
CPUProfiler.js Add NativeProfiling module that uses RN nativeProfiler or console.profile 2015-11-27 04:44:25 -08:00
Dimensions.js Update Dimensions when device orientation changes 2016-03-15 05:49:25 -07:00
ErrorUtils.js Remove the need for allowTopLevelThis in transform-es2015-modules-commonjs 2016-04-29 16:15:34 -07:00
HMRClient.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
HMRLoadingView.android.js Show a Toast for HMR 2016-02-27 15:58:35 -08:00
HMRLoadingView.ios.js Show a Toast for HMR 2016-02-27 15:58:35 -08:00
HeapCapture.js upload JSC heap capture to bundle server 2016-08-02 08:13:57 -07:00
I18nManager.js Provide forceRTL for LTR language to test 2016-08-04 12:28:30 -07:00
MatrixMath.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
MessageQueue.js Fix memory leak in MessageQueue 2016-08-26 18:58:35 -07:00
PerformanceLogger.js Use monotonic clock instead of currentTimeMillis 2016-03-30 12:47:20 -07:00
PixelRatio.js PixelRatio.pixel() 2016-01-15 05:15:31 -08:00
Platform.android.js Reverted commit D3369528 2016-06-03 05:43:26 -07:00
Platform.ios.js Reverted commit D3369528 2016-06-03 05:43:26 -07:00
RCTLog.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
RCTRenderingPerf.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
SamplingProfiler.js #15 Add a button in devtools to start/stop the Sampling Profiler 2016-08-02 11:14:06 -07:00
Systrace.js Update hook event names 2016-08-18 15:58:48 -07:00
UIManager.js Unbreak UIManager.takeSnapshot 2016-08-17 10:28:36 -07:00
WebSocketInterceptor.js Enable websocket interception in RN network inspector tool 2016-08-02 08:28:39 -07:00
XHRInterceptor.js Add unique ids to the intercepted XHR objects to make the tracking correctly across inspector restarts. 2016-08-02 08:28:39 -07:00
buildStyleInterpolator.js Deprecate transformMatrix and decomposedMatrix 2016-04-29 14:19:25 -07:00
clamp.js Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
createStrictShapeTypeChecker.js Upgrade to React v15.3.0-rc.2 2016-07-21 09:13:29 -07:00
deepFreezeAndThrowOnMutationInDev.js Ensure recursion is terminated on objects with cyclical references 2016-02-12 14:56:00 -08:00
defineLazyObjectProperty.js RN: Implement `defineLazyObjectProperty` 2016-06-29 16:43:17 -07:00
deprecatedCallback.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
deprecatedPropType.js Upgrade to React v15.3.0-rc.2 2016-07-21 09:13:29 -07:00
dismissKeyboard.js [ReactNative] Sync [react_native] Fix keyboard behavior for android 2015-08-14 02:58:37 -08:00
groupByEveryN.js
infoLog.js Move infoLog to OSS 2016-05-17 12:43:40 -07:00
logError.js
mapWithSeparator.js Optimize and flowify mapWithSeparator 2016-05-26 12:28:55 -07:00
mergeFast.js Fix typo 2015-08-06 20:22:24 -08:00
mergeIntoFast.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
stringifySafe.js [ReactNative] improve console logging a little bit 2015-05-04 18:57:03 -08:00
throwOnWrongReactAPI.js Show better error message when accessing React APIs on React Native 2016-06-14 06:28:26 -07:00
truncate.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
utf8.js Add support for missing XHR response types 2016-04-11 05:54:28 -07:00