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 @@ ...@@ -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