mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Added non-class-scanning-based approach fror registering js methods
This commit is contained in:
@@ -88,6 +88,8 @@ static dispatch_queue_t RCTFileQueue(void)
|
||||
NSString *_storageDirectory;
|
||||
}
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
- (NSString *)_filePathForKey:(NSString *)key
|
||||
{
|
||||
NSString *safeFileName = RCTMD5Hash(key);
|
||||
|
||||
Reference in New Issue
Block a user