Files
react-native/Libraries
Tim YungandFacebook GitHub Bot 003d63d6e5 RN: Refactor AccessibilityInfo Listeners
Summary:
Refactors `AccessibilityInfo` so that it does not reimplement the event listener logic that is already implemented in `EventEmitter` (which backs the implementation of `RCTDeviceEventEmitter`).

This also means that calling `AccessibilityInfo.removeEventListener` will correctly display a deprecation error, due to `EventEmitter.removeListener` being deprecated. In a future release, both of these methods will be removed.

Changelog:
[General][Deprecated] - Deprecate `AccessibilityInfo.removeEventListener`.

Reviewed By: kacieb

Differential Revision: D27574340

fbshipit-source-id: 98c71d9c1470018df0f1526cc2f349aac842e786
2021-04-05 17:36:55 -07:00
..
2020-10-18 20:30:55 -07:00
2021-04-02 13:07:35 -07:00
2021-03-22 06:46:00 -07:00
2020-02-21 10:34:40 -08:00