I'm trying to implement some custom logic but am unable to get the sub-classed method called instead of the one in the parent ReactNativeShareExtension class (confirmed via debugger breakpoints). I have a hunch this may be because RCT_REMAP_METHOD is being used to call the method in question. An example of a setup which compiles file but is not working is below.
Figured this out by just keeping it simple not overwriting the method. Instead I just included the files in the main xcode application and not linking the react-native-share-extension library on iOS.
I'm trying to implement some custom logic but am unable to get the sub-classed method called instead of the one in the parent ReactNativeShareExtension class (confirmed via debugger breakpoints). I have a hunch this may be because
RCT_REMAP_METHOD
is being used to call the method in question. An example of a setup which compiles file but is not working is below.Any input would be greatly appreciated!