Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use main thread for requesting notification permissions. (#90)
iOS throws a warning that registerForRemoteNotifications must be called from the main thread only, this just wraps that call in a block to ensure it always runs there, regardless of how the containing function is called.
- Loading branch information