Files
react-native/packages
zhongwuzw 9db3eb6862 Remove invalidate observer instead of re-adding observer in DeviceInfo module (#43737)
Summary:
Previous fix brings in https://github.com/facebook/react-native/pull/42396. Seems it's a mistake to re-add observer?
So let's remove it and also not `invalidate` method not be called twice.

[IOS] [FIXED] - Remove invalidate observer instead of re-adding observer in DeviceInfo module

Pull Request resolved: https://github.com/facebook/react-native/pull/43737

Test Plan: Fix for https://github.com/facebook/react-native/issues/42120 also works.

Reviewed By: javache

Differential Revision: D55692219

Pulled By: cipolleschi

fbshipit-source-id: dba1ddc39a9f2611fc2b84fadf8c23827891379a
2024-07-01 14:15:28 -03:00
..
2023-09-26 10:27:39 -04:00
2023-12-14 13:46:03 +00:00
2024-02-20 13:55:28 -08:00
2024-02-05 13:18:42 -08:00
2023-09-27 12:36:19 -04:00
2023-09-26 10:27:39 -04:00
2024-04-30 10:07:20 +00:00
2023-12-14 13:46:03 +00:00