View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003220VCMILauncherpublic2022-05-24 08:512022-09-13 12:11
Assigned To 
PlatformAndroid arm64-v8aOSAndroidOS Version11
Product Version0.99 
Target VersionFixed in Version 
Summary0003220: Android 11 Storage permission needs rework
DescriptionAndroid 11 changed the way internal storage works. The App can’t write to /storage/emulated/0/vcmi-data
When checking the permissions, only the following prompt is available.
Allow access to media only.
As I understand, the following flag needs to be set, R.attr | Android Developers

Or separate app needs to be made just for Android 11 and beyond.
Steps To ReproduceInstall the daily build, create folder on /storage/emulated/0/vcmi-data

It detects the file but can't write to the folder, following error occurs
Could not save vcmi config; reason /storage/emulated/0/vcmi-data/config/json.conf: open failed: EPERM (Operation not permitted)
Additional InformationUsing Lenovo Tab P11, it has a keyboard with trackpad, thought it would be ideal to play HoMM3 with. But due to the Android 11 new permissions it causes older apps to misbehave.
Attached Files

- Relationships

-  Notes
Alex_leo (reporter)
2022-05-24 08:53

Link with the permissions: [^]
Alex_leo (reporter)
2022-05-24 09:12

Total Commander for example has different permission dialogue.
Allow management of All files.
Nullkiller (developer)
2022-09-13 12:11

Today's build uses different approach and now it will search vcmi-data folder in different place. Internal Storage is removed. This is the way how Minecraft did it so I am not going to look for something else.

- Issue History
Date Modified Username Field Change
2022-05-24 08:51 Alex_leo New Issue
2022-05-24 08:53 Alex_leo Note Added: 0008296
2022-05-24 09:03 Alex_leo Tag Attached: android
2022-05-24 09:12 Alex_leo Note Added: 0008297
2022-09-13 12:11 Nullkiller Note Added: 0008338

Site | Forums | Wiki | Slack | GitHub

Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean