mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-27 08:32:32 +00:00
Add requiresMainQueueSetup method
Since RN 0.49, `requiresMainQueueSetup` needs to be defined if the module overrides `constantsToExport`.
This commit is contained in:
@@ -62,4 +62,9 @@ RCT_EXPORT_VIEW_PROPERTY(onPlaybackRateChange, RCTBubblingEventBlock);
|
||||
};
|
||||
}
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user