mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 09:35:11 +08:00
Summary: Now that NativeModules are stored based on String keys instead of classnames, the old innterface to getNativeModules(Class moduleInterface) is deprecated. This interface is also incorrect since a native module with the same name may be overridden, causing issues. Getting native modules by name is also similar to what JavaScript does Reviewed By: achen1 Differential Revision: D9697827 fbshipit-source-id: ff832bd2ea5e1c7cfe7d8c0c3a66f0d755b2c354