Skip to content

Commit 2c41854

Browse files
Merge pull request #391 from messense/patch-1
Explicitly set requiresMainQueueSetup
2 parents bb713c3 + 84bfb3e commit 2c41854

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ios/RCTJPushModule/RCTJPushModule.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ - (dispatch_queue_t)methodQueue
227227
return dispatch_get_main_queue();
228228
}
229229

230+
+ (BOOL)requiresMainQueueSetup {
231+
return YES;
232+
}
233+
230234
- (void)didRegistRemoteNotification:(NSString *)token {
231235
[self.bridge.eventDispatcher sendAppEventWithName:@"didRegisterToken"
232236
body:token];

0 commit comments

Comments
 (0)