Files
react-native/packages/react-native
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-04-02 17:27:55 -07:00
2025-04-24 09:44:26 -07:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-05-06 11:21:57 +01:00
2025-06-12 15:27:37 +00:00
2025-04-20 18:08:18 -07:00

Where is the template?

The React Native Template has moved from being shipping inside the react-native package to it's own package: @react-native-community/template.

Why has it moved?

The React Native Frameworks RFC0759 provides background information.

When was it moved?

The 0.75 release.