We have created a web based drive app that is storing files with a custom mime-type on Google Drive.
Users can share the file by adding collaborators in the "Share" dialog.
However, sending the public link to an anonymous user will not provide a link to our app when clicking on that link.
It just provides the generic drive preview with an option to download the file.
How can we implement the public link just in the way Google Docs is working?
We'd like to open our app when users are clicking on the shared link.
The public link created by opening the share dialog from Google Drive for one of the files created with our app looks like this:
When opening the share dialog from Google Drive for a Google Form it looks like this:
So what we are looking for is to create a publish link to our application (just like the second link is directing to forms) instead of the generic drive preview page.