I'm trying to add an image to a collection from Google Storage. Since the image is not publicly accessible from Cloud Storage, I can't link to it directly. Instead, I make the GCS API call to generate a signed URL (which expires after a short while) and send that to Wikitude. Unfortunately, Wikitude doesn't seem to handle it properly:
What do you suggest I do? I can make the same call for public image on Google Cloud Storage just fine (it has a shorter URL -- there's no other difference). The signed URL for private content is around 560+ bytes; is that too long?
over 4 years ago
Hi there! The length of the url shouldn't be an issue but please ensure to solely use publicly available ressources as url-attribute. The asset is downloaded in default way without any special implementation. You may e.g. first download protected files to a public directory on your server and use this url then as target-upload url.