Skip to content

[Question] - Use getFromHTTPRequest with local blob URL #681

@BastienCivel

Description

@BastienCivel

Hello,

Here is my situation. I'm using this plugin for an existing angular capacitor app (web + mobile). In this app, upon loging in and after selecting a few criteria, the app makes you download a .zip (fetch) containing a .db file. This .zip is base 64 encoded.

The server cannot expose directly an url of the file, so I was wondering about transforming this base 64 zip into a blob, then use URL.createObjectURL(blob); and feed this url to the getFromHTTPRequest ?
Would that work ?

Otherwise, any idea how should I proceed in order to copy the .db I received from the zip file, that works in web and mobile ?

Thanks in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions