Skip to content

[fix]: StorageException during Upload & DownloadManager Failures #52

Description

@namanhere23

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions