mirror of
https://github.com/tappollo/react-native-safari-view.git
synced 2026-01-12 17:03:09 +08:00
Merge pull request #12 from trabianmatt/patch-1
Execute the SafariViewManager on the main thread
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
- (dispatch_queue_t)methodQueue
|
||||
{
|
||||
return dispatch_get_main_queue();
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(show:(NSDictionary *)args callback:(RCTResponseSenderBlock)callback)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user