Skip to content

Commit

Permalink
Merge pull request #102 from versus-systems/add-payload-to-ios
Browse files Browse the repository at this point in the history
Adding priority option to iOS
  • Loading branch information
pdxmele committed Oct 30, 2017
2 parents c3382b4 + 25dbd49 commit c17f3fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/urbanairship/push/payload.rb
Expand Up @@ -26,7 +26,7 @@ def notification(alert: nil, ios: nil, android: nil, amazon: nil,

# iOS specific portion of Push Notification Object
def ios(alert: nil, badge: nil, sound: nil, extra: nil, expiry: nil,
category: nil, interactive: nil, content_available: nil)
category: nil, interactive: nil, content_available: nil, priority: nil)
compact_helper({
alert: alert,
badge: badge,
Expand All @@ -35,6 +35,7 @@ def ios(alert: nil, badge: nil, sound: nil, extra: nil, expiry: nil,
expiry: expiry,
category: category,
interactive: interactive,
priority: priority,
'content-available' => content_available
})
end
Expand Down

0 comments on commit c17f3fa

Please sign in to comment.