nextcloud / nextcloud/news-android

Downloading an image inside an article does nothing on Android 13

Open
#1,302 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
764
Forks
262
Avg merge
1d 13h
Merged PRs (30d)
13

Description

# Steps to reproduce
1. Open an article with an image on Android 13
2. Long click on the image
3. Click the download button

# Expected
App should ask for permission and download the image.

# Actual
Nothing happens. `Asking for permission` error gets printed in logcat.

# Cause
The documentation states regarding [WRITE_EXTERNAL_STORAGE](https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE):

> Note: If your app targets [Build.VERSION_CODES.R](https://developer.android.com/reference/android/os/Build.VERSION_CODES#R) or higher, this permission has no effect.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.