We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2af466c commit 4523546Copy full SHA for 4523546
ios/RNVoipPushNotification/RNVoipPushNotificationManager.m
@@ -213,7 +213,9 @@ - (void)handleRemoteNotificationReceived:(NSNotification *)notification
213
214
RCT_EXPORT_METHOD(presentLocalNotification:(UILocalNotification *)notification)
215
{
216
- [RCTSharedApplication() presentLocalNotificationNow:notification];
+ dispatch_async(dispatch_get_main_queue(), ^{
217
+ [RCTSharedApplication() presentLocalNotificationNow:notification];
218
+ });
219
}
220
221
+ (BOOL)requiresMainQueueSetup
0 commit comments