Commit 73320075 by Maurits van Beusekom

Merge branch 'develop' of github.com:Baseflow/flutter-permission-handler into develop

parents 2463b43e 89505fd7
......@@ -38,8 +38,10 @@
return;
}
[[UIApplication sharedApplication] registerForRemoteNotifications];
completionHandler(PermissionStatusGranted);
dispatch_async(dispatch_get_main_queue(), ^{
[[UIApplication sharedApplication] registerForRemoteNotifications];
completionHandler(PermissionStatusGranted);
});
}];
} 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