iOS: Best practices for iOS 10 Media Attachments

Since the release of iOS 10, it is possible to integrate media (images, video and audio) in your push notifications.

In terms of technical integration in order to enable the handling of these attachments, here are the available documentation :

This iOS feature allows an experience in terms of customization and interaction with your users. However, in order to take the full benefit of it, there are several factors to get aware of and that do not depend on Accengage, but on iOS constraints.

 

Indeed, during your tests, if the push is received but not the media, it can be due to these possibilities:

  • A bad connection

  • An incompatible with the feature

  • A heavy media: your device has failed to display the attachment

  • The integration of the iOS 10 extension is incomplete

 

Here are the best practices we have noticed during our testing phases of the available functionalities, which need to be taken into account when integrating the templates with your notifications:

  1.  

 Have an iPhone 5S or higher

 

  1.  

A good internet connection: the reception of your iOS 10 attachment will widely depend on this. The server on your device will attempt to load the template for up to 10 seconds. If it fails, the message will be sent without the attached media.

  1.  

The template should be as light as possible in order to optimize reception. Here is our recommendation for a maximum reach :

  • Less than 1MB for an image.

  • Less than 1.5MB for a video.

  • Less than 1MB for an audio format as well.
     

  1.  

 Formats managed by our Dashboard are :

  • .jpg, .jpeg, .png, and .gif for templates images.

  • .MP3, .MP4, .AIF, and .WAV for audio templates.

  • .MPG, .MP2, .MP4, .AVI, .M4A, .M75, .M15 and .VFW for video templates.

 

  1.  

Here is media sample we use during our testing phases:

 

  1.  Check script integration in Xcode:

 
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Submit a request