wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.96k stars 1.31k forks source link

Audio Block: Download button doesn't initiate download in Preview, Reader #14823

Open thehenrybyrd opened 3 years ago

thehenrybyrd commented 3 years ago

Expected behavior

When previewing a post with an Audio Block, or viewing it in the Reader, tapping the "..." and then "Download" would download the file to my device.

Actual behavior

When uploading an audio file or inserting from Media Library (not via Insert from URL), the download button does not work in Preview, View (if Published) or in the Reader. It’s working on mobile browser, but not when viewed from the mobile app.

Steps to reproduce the behavior

  1. Add an Audio block to a post/page in Personal plan or above. (this can be done on the web or in the app)
  2. Upload an audio file by choosing from device or from Media library
  3. Publish the page and view
  4. Tap the three dots on the Audio and tap Download.

markup-2021-06-08-at-21 12 08

Tested on Samsung Galaxy Note10 Lite, Android 11, WPAndroid 17.5-rc-1
and Samsung Galaxy S21, Android 11, WPAndroid 17.5-rc-1

Reported by @rinazrina in beta testing

thehenrybyrd commented 3 years ago

Seems related to the behavior reported in https://github.com/wordpress-mobile/WordPress-Android/issues/9879, as well.