Files
react-native/Libraries
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
..
2016-08-24 02:58:32 -07:00
2015-07-24 08:41:58 -08:00
2016-08-23 14:13:52 -07:00
2016-08-09 06:43:46 -07:00
2016-08-09 06:43:46 -07:00
2016-08-05 12:44:20 -07:00
2016-07-06 12:58:41 -07:00
2016-08-09 06:43:46 -07:00
2016-07-14 11:13:27 -07:00
2016-08-29 11:28:52 -07:00
2016-08-09 06:43:46 -07:00
2016-08-09 06:43:46 -07:00
2016-08-09 06:43:46 -07:00
2016-07-19 10:43:29 -07:00
2016-08-17 10:44:01 -07:00
2016-08-18 20:58:39 -07:00
2016-08-16 16:13:51 -07:00
2016-08-09 06:43:46 -07:00
2016-07-25 03:43:29 -07:00
2016-08-09 06:43:46 -07:00
2016-08-30 10:58:45 -07:00
2016-08-12 07:28:38 -07:00