fix: Play notification sound also with app in foreground

This commit is contained in:
Andrea Busi
2020-10-12 21:07:16 +02:00
parent 6fcf58608f
commit 6aecff1415
2 changed files with 1 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

+1 -1
View File
@@ -123,7 +123,7 @@
[self handlePushNotificationWithUserInfo:userInfo];
// Change this to your preferred presentation option
completionHandler(UNNotificationPresentationOptionAlert);
completionHandler(UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionSound);
}
// Handle notification messages after display notification is tapped by the user.