In apple push notification I am sending emojis in payload and they as showing as Unicode characters in notification.
Using ApnsPayloadBuilder
to create payload and sending message like
payloadBuilder.setAlertBody(new String(msg, "UTF-8"));
I am getting this message from our database and emojis are storing like
nice \u270c\ufe0f\ud83d\udc4d
in db.
How do I solve this issue?