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 da0f713 commit 0ad12dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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 0ad12dd

Please sign in to comment.