Commit 0b407665 by Maurits van Beusekom

Release 5.0.0+hotfix.8

parents 538b5325 73320075
...@@ -38,8 +38,10 @@ ...@@ -38,8 +38,10 @@
return; return;
} }
[[UIApplication sharedApplication] registerForRemoteNotifications]; dispatch_async(dispatch_get_main_queue(), ^{
completionHandler(PermissionStatusGranted); [[UIApplication sharedApplication] registerForRemoteNotifications];
completionHandler(PermissionStatusGranted);
});
}]; }];
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment