iOS and Android devices do not have the ability to display .svg images natively. In the REST API response received by mobile devices, .svg files are often delivered to display twemoji. This is not limited to Comment Notifications only, but this is the area where it is most noticeable.
On WordPress iOS a gray box appears. On WordPress Android, we display nothing at all.
Steps to reproduce
Starting at URL: pbMoDN-1Hg-p2#comment-3428
Pick a mobile device and install the WordPress app.
On the web, follow Apps P2
On the device, go to Reader > Following and select "Filter".
In the site filter, scroll to The Apps Division and select it.
Scroll through the posts until you find "Welcome David!"
iOS and Android devices do not have the ability to display
.svg
images natively. In the REST API response received by mobile devices,.svg
files are often delivered to displaytwemoji
. This is not limited to Comment Notifications only, but this is the area where it is most noticeable.On WordPress iOS a gray box appears. On WordPress Android, we display nothing at all.
Steps to reproduce
API response snippet:
What I expected
A supported image file format was returned in the HTML found in the "content" field. Mobile devices support
.jpg
and.png
.What happened instead
.svg
files are supplied.Browser / OS version
Any. The mobile apps are using
/rest/v1.1/sites/$hostname/comments/$comment_id
as the endpoint to call.Screenshot / Video
Context / Source
Ref. https://github.com/wordpress-mobile/WordPress-iOS/issues/15341 Ref. https://github.com/Automattic/wp-calypso/issues/47807