Below is my request notification code
if #available(iOS 10, *) {
UNUserNotificationCenter.current().requestAuthorization(options:[.badge, .alert, .sound]){ (granted, error) in }
application.registerForRemoteNotifications()
}
I have asked for sound, alert, and badge permissions from user in notification. I also went through the link below regarding the push notification vibration.
My question is push notification vibration when the app is closed is handled by app or it's the payload which makes iPhone vibrate.
Is it possible to handle vibration of iPhone from push notification, like sound key in payload of push notification or is there any other way to control push vibration?
Thanks in advance