I'm using Berkayk\OneSignal to send notifications in my Laravel 7.
It works fine with plain text in message, but i have to send also any emoticon/emoji to my user.
Is it possible?
Thanks
asked Nov 29, 2020 at 16:51
enfix
7,03013 gold badges62 silver badges85 bronze badges
-
Yes: onesignal.com/blog/how-to-use-emojis-push-notificationsThomas– Thomas2020年11月29日 16:59:12 +00:00Commented Nov 29, 2020 at 16:59
1 Answer 1
I solved it by simply copying and pasting the emoticon in the PHP string, taking them from a web page for example.
I didn't use escape or other representation.
The simplest solution is always the best.
answered Dec 1, 2020 at 14:02
enfix
7,03013 gold badges62 silver badges85 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-php