Method: OneSignal::Notification#ios_attachments

Defined in:
lib/onesignal/models/notification.rb

#ios_attachmentsObject

Channel: Push Notifications Platform: iOS 10+ Adds media attachments to notifications. Set as JSON object, key as a media id of your choice and the value as a valid local filename or URL. User must press and hold on the notification to view. Do not set mutable_content to download attachments. The OneSignal SDK does this automatically Example: ""



131
132
133
# File 'lib/onesignal/models/notification.rb', line 131

def ios_attachments
  @ios_attachments
end