wordpress-mobile / wordpress-mobile/WordPress-Android
Android 9 and lower devices should guide users to system settings if the permission was denied
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When downloading a file on the reader, if the "Don't ask again" option is selected for file download before, the app should inform the user and forward them to the system settings.
Actual behavior
On Android 9 devices, when downloading a file on the reader, if the "Don't ask again" option is selected before, downloading a file action does nothing.
Steps to reproduce the behavior
On Web:
- Create a post with a File block and upload a PDF (or other non-media file) to it
- Like that post (on Reader) so you can easily find it on the mobile app Reader
On the Jetpack app:
- In the Reader, find the above post
- Tap the download link (note: currently, the Reader shows an extra Download text after the file name)
- Deny the permission.
- Tap the download link again.
- Select the "Don't ask again" button and deny the permission.
- Tap the download link again.
- Notice that you can't download it or be guided to the system settings.
Tested on Pixel 7 Pro API 28 Emulator, Android 9, JPAndroid 23.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Reader on a Pixel 7 Pro API 28 emulator using the listed download and permission-denial steps. Trace the download link's permission handling on Android 9 and lower; done means a prior “Don't ask again” denial informs the user and opens system settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100