-
Backstory: We are a small construction company that has fully embraced Retool. We use Google Drive and shared to store all of our project files. We use S3 for photos and other things, but we just can't give up Drive for Desktop and the 'Ctrl+Alt+G' shortcut to search through all of our project files. I've got the drive API connected in browser and mobile apps. So that our field team can browse for files in the field.
-
Goal: Better experience downloading and viewing Google Drive .pdf and images files on mobile. Currently we can download base64 to the device, and using the downloadFiles() utility we can trigger the devices share menu, which if the users scrolls to the bottom they may be able to save the file to their device, figure out where they saved it and then open it. But that's too hard (it's construction after all). I need to get signed url like functionality that will just open these files in the users browser.
Long story short I'm just looking for the best solution. I'm considering creating a lambda function to retrieve the file from google, store it in s3 and send a signed url back to retool, but that will be painfully slow and not very elegant.
Anybody else have any ideas?