mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
5c160e5ded
Summary: [RFC] WIP: Way to register RCT_MODULE in Plugin2.0 instead of +load This seemed like the simplest way to do this to register in the existing didNotFindModule callback so that we don't have to touch any opensource code. NOTE: The new version of this fixes the problems with dylibs, but not the -ObjC flag removal. This seems like the right call to avoid users having to implement c-functions to return their classes; instead we used objc_getClass. Reviewed By: dshahidehpour Differential Revision: D9112719 fbshipit-source-id: cf8df97d7c443cafa0e06a1e61bdf2612944ed87