Bug 1: Uploading Menu Fails
When a Mess Committee member edits the menu and clicks the "Send Menu for Approval" button, the application fails to upload the generated PDF, throwing an error toast.
The error originates from the Firebase Storage SDK during the ref.putFile(uri) execution inside Firebase.kt, while the preceding Firestore checks run successfully.
Bug 2: Downloading Menu Fails ("Download Unsuccessful")
When a user clicks "Download Current Menu", a "Download Started" toast appears, but the download ultimately fails, showing a "Download Unsuccessful" notification. The system DownloadManager fails to process the Firebase Storage URL correctly.
**Possible Root Cause (Server-Side): **
Both the upload and download issues share a common root cause related to Firebase Storage configuration.
Bug 1: Uploading Menu Fails
When a Mess Committee member edits the menu and clicks the "Send Menu for Approval" button, the application fails to upload the generated PDF, throwing an
errortoast.The error originates from the Firebase Storage SDK during the
ref.putFile(uri)execution insideFirebase.kt, while the preceding Firestore checks run successfully.Bug 2: Downloading Menu Fails ("Download Unsuccessful")
When a user clicks "Download Current Menu", a "Download Started" toast appears, but the download ultimately fails, showing a "Download Unsuccessful" notification. The system
DownloadManagerfails to process the Firebase Storage URL correctly.**Possible Root Cause (Server-Side): **
Both the upload and download issues share a common root cause related to Firebase Storage configuration.