Skip to content

Commit

Permalink
require main queue setup (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
zibs authored and Andreyco committed Nov 8, 2018
1 parent 2feff8c commit abc18d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react-native-payments/lib/ios/ReactNativePayments.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ - (dispatch_queue_t)methodQueue

RCT_EXPORT_MODULE()

+ (BOOL)requiresMainQueueSetup
{
return YES;
}

- (NSDictionary *)constantsToExport
{
return @{
Expand Down

0 comments on commit abc18d1

Please sign in to comment.