Files
react-native/Libraries
Krzysztof Borowy d45818fe47 Feature to listen on window focus events (#25039)
Summary:
Addressed issue: https://github.com/facebook/react-native/issues/24149

On Android, activity's lifecycle events are not triggered when the user pulls down the Status Bar (opening Notification Drawer). In order to know that, you need to override [onWindowFocusChanged method](https://developer.android.com/reference/android/app/Activity.html#onWindowFocusChanged(boolean)).

## Changelog

[Android] [Added] - Adds a new listener for `onWindowFocusChanged`
[JavaScript] [Added] - New event, `focusChanged`, to listen on focus gain/loss
Pull Request resolved: https://github.com/facebook/react-native/pull/25039

Differential Revision: D15644954

Pulled By: cpojer

fbshipit-source-id: 823acffc4287bec4bf56e9f5ffcac65c01cf13d3
2019-06-05 16:05:34 -07:00
..
2019-05-20 18:05:55 -07:00
2019-06-03 23:03:41 -07:00
2019-05-31 19:56:37 -07:00
2019-06-05 15:16:25 -07:00
2019-05-13 11:43:49 -07:00
2019-06-03 07:21:20 -07:00
2019-05-24 09:21:26 -07:00
2019-05-30 22:42:24 -07:00