In Java Spring boot, I can get the signed url using firebase-admin sdk.
Bucket bucket = StorageClient.getInstance().bucket();
Storage storage = bucket.getStorage();
BlobInfo blobInfo = BlobInfo.newBuilder(bucket.getName(), storeFileName)
.setContentType(fileType).build();
URL url = storage.signUrl(blobInfo, 5, TimeUnit.DAYS, Storage.SignUrlOption.withV4Signature());
String signedPath = url.toString();
But I need to get the downloadUrl instead of signed url in the Java Spring Boot like the following flutter code.
// Flutter Code
Reference ref = FirebaseStorage.instance.ref().child(storePath);
String url = (await ref.getDownloadURL()).toString();
I can't add the Firebase-Storage sdk in Java Spring, Only Mobile possible.
https://mvnrepository.com/artifact/com.google.firebase/firebase-storage/11.0.2