mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
e9c7ebfd9a
Summary: public We have code in place to ensure that a red box is displayed when bad arguments are sent to exported methods, however the methods were still being called with nil values for those arguments, resulting in crashes if the method wasn't set up to handle nil gracefully. This diff ensures that methods will not be called if any of the argument conversion functions log an error. It also explicitly checks for nil output for arguments that are marked as nonnull. Reviewed By: javache, tadeuzagallo Differential Revision: D2580658 fb-gh-sync-id: aad6be758ea19f9b4521f3f9f0407bf672c0a2dd