12-31-2017, 03:46 AM
Dan,
I looked into this some more, and it looks like, due to the way Google set up the API for writing to SD cards, if you want to be able to save out to files on the removable SD card, they need to be in the MobileSheetsPro storage location (which would be set to a folder on the removable SD card). Otherwise, I would have to prompt for you to pick the output destination folder and file and request SD card access every time you went to save out the file. I don't have permission to write to the SD card otherwise. I get around this with the storage location because Google lets you persist access to a location that the user has already selected. In theory, if it's important for people to be able to manage their own files/folders on a removable SD card, I can add try to add code that requires you to pick the file, pick the SD card, and then persists access to that file, but it still would be fairly tedious, and I don't know what ramifications there are to persisting access to lots of files/folders.
Mike
I looked into this some more, and it looks like, due to the way Google set up the API for writing to SD cards, if you want to be able to save out to files on the removable SD card, they need to be in the MobileSheetsPro storage location (which would be set to a folder on the removable SD card). Otherwise, I would have to prompt for you to pick the output destination folder and file and request SD card access every time you went to save out the file. I don't have permission to write to the SD card otherwise. I get around this with the storage location because Google lets you persist access to a location that the user has already selected. In theory, if it's important for people to be able to manage their own files/folders on a removable SD card, I can add try to add code that requires you to pick the file, pick the SD card, and then persists access to that file, but it still would be fairly tedious, and I don't know what ramifications there are to persisting access to lots of files/folders.
Mike