messagePreview suddenly stopped working. I was using 4.0.0-beta12 where it was working fine, did no changes to my code and it stopped working so you must’ve changed something on the backend side. Updated to the newest beta but it still doesn’t work.
let notificationToken = dependencies.amityChannelRepository
.observe { [weak self] liveCollection, _, error in
let chatChannels = liveCollection.snapshots.compactMap { snapshot -> ChatChannel? in
let messagePreview: ChatChannelLastMessagePreview?
if
let authorFullName = snapshot.messagePreview?.user?.displayName,
let sentAtDate = snapshot.messagePreview?.createdAt
Hello @nadol, We’ve tested the messagePreview feature on our side, and it appears to be working fine. To assist you further, could you please confirm if the Message Preview feature is enabled?
@SocialPlus_Support are some extra steps required to enable the message preview since some update? It worked fine before and stopped working without any changes on my end
If secure mode is not enabled, you can directly register the session and use the token for your cURL request. Let me know if you need further assistance!