This article explains how to use the "Optional Features" capability in Airship:
Below are details on the supported Media Features:
Enter a Title to create a heading that appears above the notification text on:
- iOS Notification Center
- Apple Watch Looks
- Android Notification Area/Drawer
Enable via toggle, then type the title in the text field.
Add a Summary line, supplemental text displayed with the primary notification message. Enable via toggle, then type the line in the text field.
iOS: Summary appears below the push notification title. See: iOS 10 documentation. iOS 10 only.
Android: Summary appears below the main notification text in most cases. This is the only visible text other than the title when Android Picture is visible in expanded mode, as the main notification text is suppressed. See: Android documentation.
iOS Supported Media types:
- Supported: Images (jpg/png), GIF, Audio (mp3), Video (mp4) [Max. file size up to 2 MB]
- Not Supported: Interactive Buttons, Share from Notification
Prerequisites for iOS:
- Applicaster SDK 10.3.x and above
- iPhone 6S Plus and above
- Requires creating a dedicated iTunes Developer Provision Profile that supports Rich Notifications (please contact your Account Manager or Customer Success agent to learn more details).
Android Supported Media types:
- Supported: Images (jpg/png)
- Not Supported: GIF, Audio (mp3), Video (mp4), Interactive Buttons, Share from Notification
To add Media to your notification, switch the Toggle to enabled (Green state).
Enter the URL for the media to be displayed with the push notification.: Image, animated gif, audio, and video are supported. See the API reference for allowed file types and requirements. Ensure the URL will be accessible by your mobile audience. HTTPS is required.
If your account has CDN enabled, you can Upload media rather than entering a URL. Select the radio button for Upload, click Upload Media, and select a media file.
The maximum file size is 2 MB.
* Contact Airship Support if you are interested in enabling CDN media hosting.
Check the box to Hide iOS thumbnail.: Image, animated gif, audio, and video are supported. By default, a thumbnail of the media is displayed in the message alert.
Add Media Specific Content on iOS 10 devices.: By default, iOS 10 devices will receive the Same push notification as pre-iOS 10 devices. If you would like to send a different message to iOS 10 devices, select the Write Alternative radio button to display the iOS 10 Push Notification box, and enter the alternative text.
Alternate Title and Summary fields will appear here only if the initial Title and Summary fields preceding Media have been enabled and filled out.
Enter the URL for the media to be displayed with the push notification. Only static images are supported. See the API reference for "style". Ensure the URL will be accessible by your mobile audience. HTTPS is required.
If the iOS platform is enabled along with Android and/or Amazon, the URL field is labeled Picture for Android. The Picture for Android field is removed if a URL for a static image is entered in the initial URL field.
iOS Only :
This allows you to control the red numeric badge displayed on the app icon for your message recipient, which typically indicates the number of unread messages for an app.
By default you automatically increment the existing badge number, but alternatively you can specify the exact number, e.g., +3, +12, -3.
Enable via toggle, then select either Increment by 1 or Specify.
Specify requires a value in the text field.
This feature allows to play a custom sound file that’s bundled with your app by your app developer. Requires directly referencing the name of the sound file or specifying.
Please click HERE for additional details on Push Sounds.