Rocket.Chat.ReactNative
Rocket.Chat.ReactNative copied to clipboard
Text is not rendering with image in attachment
Description:
When i send message with an image in attachment only attached image is shown. If there is no image in attachment, text renders properly.
Test messages on web:
This messages on Android
Environment Information:
- Rocket.Chat Server Version: 6.1.0
- Rocket.Chat App Version: 4.36.0.38053
- Device Name: Pixel 3
- OS Version: Android 12
Steps to reproduce:
Send test message with webhook
curl -X POST -H 'Content-Type: application/json' --data '{"text":"Example message","attachments":[{"title":"Rocket.Chat","title_link":"https://rocket.chat","text":"Rocket.Chat, the best open source chat","image_url":"https://chat.intermb.ru/images/integration-attachment-example.png","color":"#764FA5"}]}' https://rocketchat-webhook-url
-> No attachment text shown in mobile app. Send test message without image:
curl -X POST -H 'Content-Type: application/json' --data '{"text":"Example message","attachments":[{"title":"Rocket.Chat","title_link":"https://rocket.chat","text":"Rocket.Chat, the best open source chat","color":"#764FA5"}]}' https://rocketchat-webhook-url
-> Attachment text is shown.
Expected behavior:
Image and attachment text are shown in mobile app
Actual behavior:
Showing only text or image in mobile app.