A framework for building native applications using React
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
N
Nicola Corti committed
f6b7bd93d8d0d2095669144c8de438cf64d8e73f
Parent: 2ade12d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 6/16/2025, 2:49:11 PM