I have a MI10 and seems to have permission issues with latest rom. With Whatsapp I can't download pdfs (no problems with images and videos) and with Aves gallery I can't delete pictures. Seems a file system issue, anybody have the same problem?
I tried @Mountain wild solution but did't worked on my Mi10 stable V14.0.2.0.TJBCNXM becasue I haven't "Approximate location". I solved upgrading Xiaomi Security to latest version (7.7.2-230407.1.3).