Image in In-App notification.
Is there example how to install media content( image, video) in IN-APP notification? I did not find it in documentation. <img> tags are removed automaticaly.
19 Replies
Any suggestion?
@Kh. M-S. are you using In-App or Inbox? Inbox does support that
In-App does not, what are you trying to do?
@Tomer Barnea I am using In-App. I need insert some picture in the notification message.
If there are not any possibility to do it in In-App then i will try Inbox
@Kh. M-S., the In-App component is simpler in nature, in the Inbox, you can inject anything you'd like.
@Tomer Barnea Is Inbox available in self-hosted version? When I create notification there is not Inbox in the list.
It's part of v2
in the channel, it's still listed as an In-App, but due to the code-based control, you can add whatever you want. I think I can find something
I can't find it, but as the new Inbox allows for content to be generated by you, and following this (https://docs.novu.co/sdks/framework/typescript/steps/inApp), you can just send HTML compoentns.
Novu
What is Novu - Novu
Novu is a full-stack (UI Components, API, and Framework) open source notification infrastructure platform for building, managing, delivering, and monitoring all types of end-user notifications.
I do not know is it legal but I found out how do it. I do it using div tag like this
<div style="width: 300px; height: 200px; background-image: url('something.jpg'); background-size: cover;"></div>
Inbox or inapp?
InApp
Can you send a pic of the trigger and the Inapp?
Sure. Just a moment
And I trigger and see this notification in my web site with inserted image.
@Kh. M-S. thanks for sharing that, very cool!
@Tomer Barnea Hello! Can I broadcast notification to all users when i use self-hosted novu?
Hi @Kh. M-S. 🙂
Sure thing, there is a broadcast API, check it out here (https://docs.novu.co/api-reference/events/broadcast-event-to-all), should work both for cloud, as well as self-hosted
Novu
Broadcast event to all - Novu
Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc.
In the future could be used to trigger events to a subset of subscribers based on defined filters.