mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-05-14 17:25:18 +00:00
release-1.8
This commit is contained in:
parent
6f92ff8fb8
commit
8aca8ced6c
45 changed files with 3547 additions and 839 deletions
CovidSafe
|
@ -33,10 +33,12 @@ class OnboardingStep2ViewController: UIViewController {
|
|||
UNUserNotificationCenter.current()
|
||||
.requestAuthorization(options: [.alert, .sound, .badge]) {
|
||||
granted, error in
|
||||
|
||||
UserDefaults.standard.set(true, forKey: "allowedPermissions")
|
||||
print("Permissions granted: \(granted)")
|
||||
|
||||
DispatchQueue.main.async {
|
||||
UIApplication.shared.registerForRemoteNotifications()
|
||||
self.performSegue(withIdentifier: "showSuccessSegue", sender: self)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue