Using Emoji in Airship pushes

Airship accepts push requests using UTF-8 character sets, including emoji.

You can add emoji to your push notifications by accessing the Special Characters palette. On a Mac, this is under the Edit menu. On a Mac (10.9+) you can also use Control-Command-Space to access the special emoji keyboard.

Screen_Shot_2014-05-27_at_3.24.00_PM.png

 

Add Emoji to the notification in the Web Message Composer:

These character palettes can be used in the Message Composer to add emoji.

Screen_Shot_2015-12-02_at_3.29.49_PM.png

 

On the device:

unnamed.png

 

Add Emoji to the notification via the Push API:

Example JSON Payload:

{
  "audience": "all",
  "device_types": ["ios", "android"],
  "notification": {
    "alert": "❤️ Urban Airship 👍🏻"
  }
}

 

Was this article helpful?
0 out of 0 found this helpful
Submit a request