Browse Source

push notification url initiated

v0.17
yajan 2 years ago
parent
commit
d13fe1f37d
  1. 11
      GME Remit/AppDelegate.swift

11
GME Remit/AppDelegate.swift

@ -333,6 +333,17 @@ extension AppDelegate {
return destinationType
}
private func urlClickAction(userInfo: [String : AnyObject]?) -> PushNotificationAction? {
guard
let aps = userInfo?["aps"] as? [String: AnyObject],
let destination = aps["category"] as? String,
let destinationType = PushNotificationAction.getAction(target: destination) else {
return nil
}
return destinationType
}
}
// MARK: - MessagingDelegate

Loading…
Cancel
Save