Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
86 stars 9 forks source link

Embedded apps: downloading blob URLs don't work #191

Open ascherkus opened 1 year ago

ascherkus commented 1 year ago

Describe the bug

Clicking on download link while in an embedded app that contains blob data doesn't appear to do anything.

Access the same page in a mobile browser works as expected.

To Reproduce

Steps to reproduce the behaviour:

  1. Create an embedded app that has the following:
    
    const blob = new Blob(["hello, world!"], { type: "text/plain" });
    const url = URL.createObjectURL(blob);

Click on me to download



2. Click on the link

### Expected behaviour

A file named "hello.txt" is downloaded that contains "hello, world!" as its contents.

## Contextual information

### Packages and versions

- `@shopify/app-bridge` @ `3.7.4`
- `@shopify/polaris` @ `10.34.0`

## Platform

- OS: Android
- OS Version: 13
- App: Shopify Mobile 9.103.0
willyou commented 9 months ago

Same here.