RocketChat / RocketChat/Rocket.Chat.ReactNative

SVG images don't show up in channel

Open
#1,466 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

  • Your Rocket.Chat Experimental app version: 4.1.0.268
  • Your Rocket.Chat server version: 2.3.1
  • Device (or Simulator) you're running with: iOS 13.3

I have an incoming webhook set up with a remote custom SVG image. This isn't rendered in the channel. If I set it to a PNG file, it works.

Screenshot 1 shows Rocket.Chat in the browser, Screenshot 2 the missing images in the app.

Screenshot 1
Screenshot 2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Reproduce the issue in the iOS app with the incoming webhook using the supplied SVG and PNG URLs, then compare the app's image-rendering path for each format; done means the remote SVG renders in the channel as it does in the browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.