Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support nullable returns NativeModule methods returning Boxed Primitives
Summary: Returning null from a NativeModule method that has a return type of `java.lang.Double` causes the program to crash. This diff instead makes that method call return `null` to JS. TurboModules already has this behaviour. Changelog: [Android][Fixed] - Support nullable returns NativeModule methods returning Boxed Primitives Reviewed By: PeteTheHeat Differential Revision: D18866872 fbshipit-source-id: 6049c4df6908f1d276c5674b7e06eb5e002a7976
- Loading branch information