-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Way to register RCT_MODULE in Plugin2.0 instead of +load
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
- Loading branch information
1 parent
c5297c7
commit 5c160e5
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters