forem / DEV-ios

DEV Community iOS App
GNU General Public License v3.0
357 stars 97 forks source link

Native bridge metadata message support for Podcast Image URL #222

Closed fdocr closed 4 years ago

fdocr commented 4 years ago

What type of PR is this? (check all applicable)

Description

The locked screen controls when playing a Podcast were showing the App Icon (poorly) for all Podcasts. This PR implements the code necessary to handle a URL sent in the metadata message. If no URL is received (or an invalid URL for that matter) the behavior is the same as before but slightly better.

Related Tickets & Documents

Implements the iOS side for #218

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Before:

IMG_0500

With this PR & no Podcast Image received:

IMG_0503

With this PR & valid Podcast Image received:

IMG_0501

Added to documentation?