When I want to write a file to the internal storage/Documents, I don't see any file that was created. Also the path that it returns looks a bit weird.
"/data/user/0/com.companyname.writeexternaldocs/files/temp.txt"
Because I'm working on Android v10/api29 I have to use the mediastore
string fileName = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments), "temp.txt");
File.WriteAllText(fileName, "Some text?");
bool doesExist = File.Exists(fileName);
But when I look at this folder on my android device the temp file is not there. Can anybody point me to the right direction?
Thanks in advance