Skip to content

Commit

Permalink
require main queue setup (naoufal#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 d6439b7 commit f726d95
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 f726d95

Please sign in to comment.