I am using these codes to save image's url:
await destA.save("base64Image", {
metadata: {
contentType: "image/jpeg",
},
});
const metaData = await destA.getMetadata();
const url = metaData[0].mediaLink;
I activated Uniform access control. But it is error when I want to display it om Flutter. The error I think is: "Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object." Is this the correct way to save metadata file url? Or maybe i was wrong at the beginning.
This is the saved url