I have an iOS application that uses the google-api-objectivec-client library to access Google Drive accounts. In general, everything is working fine. But I ran into one strange problem.
The user used Windows Explorer on his computer to create a folder in his Google Drive account, and also used Windows Explorer to add files to this folder. If I create a query with:
GTLQueryDrive *query = [GTLQueryDrive queryForFilesList];
files in a folder created in Windows Explorer are returned with the 'hidden' mark set to true. Files added via the web interface on drive.google.com do not have this problem. And these "hidden" files are displayed simply in the web interface.
I also found that one of my own files uploaded to my Google Drive account using the web interface appears with the 'hidden' mark set to true. I can not find anything in the web interface that will affect this setting.
So, two questions.
- Why are these files marked as hidden even if they are displayed in the web interface?
- What is the correct way to process these files? I do not want to just ignore this flag. I think hidden files should be hidden. But these files should not be hidden.
source share