lib/apns_simple/notification.rb in apns_simple-3.1.0 vs lib/apns_simple/notification.rb in apns_simple-4.0.0
- old
+ new
@@ -10,10 +10,10 @@
def initialize(options, custom_payload = {})
token = options.fetch(:token)
alert = options[:alert]
badge = options[:badge]
- sound = options[:sound] || 'default'
+ sound = options[:sound]
content_available = options[:content_available]
payload_hash = { aps: {} }
payload_hash[:aps][:alert] = alert if alert
payload_hash[:aps][:badge] = badge if badge
\ No newline at end of file