Files
react-native/packages
Nicola Corti 4d346e2b2d Fix crash on ReactInstance due to null returned for getViewManagerNames (#52035)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52035

Fixes https://github.com/facebook/react-native/issues/52014

Some OSS library is still returning null for `getViewManagerNames` especially if they're
implementing the `ViewManagerOnDemandReactPackage` in Java.
I'm adding a try-catch here so that we prevent the NPE for those scenarios.

Changelog:
[Android] [Fixed] - Fix crash on ReactInstance due to null returned for getViewManagerNames

Reviewed By: javache

Differential Revision: D76723826

fbshipit-source-id: cc159dee389257c6877b03a67840a45ee5bec165
2025-06-23 15:46:14 +00:00
..
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 17:00:57 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00