osu icon indicating copy to clipboard operation
osu copied to clipboard

Exported files are inaccessible from other apps on android

Open SheepCommander opened this issue 2 years ago • 6 comments

Type

Game behaviour

Bug description

Lazer, Android, the Export button on replays does nothing.

I think it might be related to the fact that my phone does not let me view the contents of Android/data/ but, when I connect the phone to my laptop the laptop is able to view the sh.ppy.osulazer folders and I'm able to find the Replays in their correct place.

Still, thought this might be worth reporting. (Android 12, Motorola Edge+ 2022)

Screenshots or videos

image

Version

2023.207.0-lazer

Logs

database.log network.log performance.log runtime.log

SheepCommander avatar Feb 18 '23 04:02 SheepCommander

If the replays are in their proper location in the game's data files then the export function doesn't "do nothing". The fact that other apps do not have access to the game's data directory is another matter entirely.

We probably want to be exporting files to a less walled location on android.

bdach avatar Feb 18 '23 09:02 bdach

In Android 14 the folder is completely blocked, not accessible even from a computer.

yesseruser avatar Dec 19 '23 22:12 yesseruser

Where should we save the exports?

yesseruser avatar Dec 22 '23 12:12 yesseruser

In Android 14 the folder is completely blocked, not accessible even from a computer.

use zarchiver while unavailable

agatemosu avatar Dec 22 '23 13:12 agatemosu

In Android 14 the folder is completely blocked, not accessible even from a computer.

use zarchiver while unavailable

the app-specific folder in Android/data is only accessible by, well, that specific app, unless you're rooted. That's how the folder is designed. I doubt that Zarchiver can access it.

We want to ask for storage permission then let user pick where to save the file. This is still an ongoing issue tho.

honguyenminh avatar Mar 14 '24 06:03 honguyenminh

What should the default location be?
My ideas are: /<user's internal storage dir>/OsuExports /<user's internal storage dir>/Osu Or something along the lines of the above.

yesseruser avatar May 31 '24 18:05 yesseruser