0

Is it possible to receive custom notifications in a bundle of Unity and Firebase in the same way: https://developer.android.com/training/notify-user/custom-notification .

Thanks in advance for your help.

1 Answers1

1

If you just want to show a notification like in that link, the Unity equivalent would be the "Mobile Notifications" package. If you have a more specific question about customizing the look and feel, I can try to help. But you should look at the "AndroidNotification" class.

If you intended to link to how to customize Firebase In-App Messages, that API is not yet exposed to Firebase for Unity. You can use Firebase Cloud Messaging on Unity, but it doesn't provide the amount of control in that link.

I hope that helps!

--Patrick

Patrick Martin
  • 2,993
  • 1
  • 13
  • 11
  • Thanks for the answer. We want to change the appearance of the notification displayed by the system. Is there such an opportunity in Fairbays out of the box? – k119_55524 Mar 28 '20 at 08:30
  • Looking at this SO question: https://stackoverflow.com/questions/55983794/customize-layout-with-firebase-cloud-messaging , not quite. You can attach images and associate sound (see https://firebase.google.com/docs/cloud-messaging/android/send-image and https://firebase.google.com/docs/cloud-messaging/unity/send-with-console). – Patrick Martin Mar 30 '20 at 15:51