# Issue downloading file within Web View

**URL:** <https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201>\
**Category:** Questions about Thunkable X\
**Created:** [February 2, 2020, 9:34am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201 "2020-02-02T09:34:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![laudtetteh](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@laudtetteh](https://community.thunkable.com/u/laudtetteh)\
**Post date:** [February 2, 2020, 9:34am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/1 "2020-02-02T09:34:39Z")

</div>

@Mark I’m a PRO user on the X platform, which, I gather, does not allow extensions. My entire app runs in the webviewer, where my users can upload files, etc. My latest challenge is file downloads. Clicking the download link keeps crashing the app. My markup looks like this:

`<a href="https://path-to-file" target="_blank" download="File Name">Download</a>`

Please help.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [February 3, 2020, 8:17pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/2 "2020-02-03T20:17:51Z")

</div>

@laudtetteh Is this crash happening within your Live companion app or in a downloaded app? Also, is it happening on iOS or Android?

---

<div class="post-metadata">

**Author:** ![laudtetteh](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@laudtetteh](https://community.thunkable.com/u/laudtetteh)\
**Post date:** [February 3, 2020, 8:58pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/3 "2020-02-03T20:58:00Z")

</div>

@Mark Thanks for getting back to me! This is happening in a downloaded app, and it’s Android.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [February 5, 2020, 12:07am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/4 "2020-02-05T00:07:22Z")

</div>

Sorry for having more questions, @laudtetteh. How are you specifying the HTML for your Web Viewer? Is it via an uploaded file that is included with your app or is it via an external URL that accesses a server that you control? Also, does it succeed or fail when it’s run on your live companion app?

-Mark

---

<div class="post-metadata">

**Author:** ![laudtetteh](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@laudtetteh](https://community.thunkable.com/u/laudtetteh)\
**Post date:** [February 5, 2020, 12:38am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/5 "2020-02-05T00:38:31Z")

</div>

@Mark Thanks again for the prompt response! I did not upload html into Thunkable. It’s an external URL on a shared server, over which I have limited control. Downloading files works fine on desktop browsers, though. Also, I never did get the Live Companion to work on my Android phone.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [February 5, 2020, 1:28am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/6 "2020-02-05T01:28:54Z")

</div>

> [@laudtetteh](#):
>
> It’s an external URL …

Ok. Good to know.

> [@laudtetteh](#):
>
> I never did get the Live Companion to work on my Android phone.

What was the behavior that you saw? What model of phone did you try it on and what version of Android does it run? It would be a shame if you couldn’t live test ☹ . It makes things much easier.

---

<div class="post-metadata">

**Author:** ![laudtetteh](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@laudtetteh](https://community.thunkable.com/u/laudtetteh)\
**Post date:** [February 5, 2020, 2:50pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/7 "2020-02-05T14:50:13Z")

</div>

@Mark Ok, I finally got the Live Companion working. Here are some screenshots of what I’m dealing with.

 ![WhatsApp Image 2020-02-05 at 14.36.18](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/5/b57e8721cfa79c011f09180c0f6f6bf0fec488fc.jpeg) ![WhatsApp Image 2020-02-05 at 14.36.17](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/3/f300429fec5b428484ae7ff33e15141094042224.jpeg)

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [February 5, 2020, 10:44pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/8 "2020-02-05T22:44:26Z")

</div>

> [@Mark](#):
>
> What model of phone did you try it on and what version of Android does it run?

Still wondering.

---

<div class="post-metadata">

**Author:** ![laudtetteh](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@laudtetteh](https://community.thunkable.com/u/laudtetteh)\
**Post date:** [February 5, 2020, 11:16pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/9 "2020-02-05T23:16:35Z")

</div>

@Mark Android 7.0 Nougat on LG G5.

 ![Screenshot_2020-02-05_224449](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/8466b171e59ac50cd6a2e0346a0ec88c0070f8e6.jpeg) ![Screenshot_2020-02-05_224418](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0fb331628cf7d8467dff2f96f6f6237fee2b3ac0.jpeg)

---

<div class="post-metadata">

**Author:** ![laudtetteh](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@laudtetteh](https://community.thunkable.com/u/laudtetteh)\
**Post date:** [February 12, 2020, 5:26am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/10 "2020-02-12T05:26:13Z")

</div>

@Mark How’s it going? Any word?

---

<div class="post-metadata">

**Author:** ![hsdronesfotosefilmag](https://avatars.discourse-cdn.com/v4/letter/h/4bbf92/32.png) [@hsdronesfotosefilmag](https://community.thunkable.com/u/hsdronesfotosefilmag)\
**Post date:** [November 9, 2020, 5:47pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/11 "2020-11-09T17:47:08Z")

</div>

Olá estou com essa mesma duvida, algum de vocês tiveram algum resultado?

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [June 3, 2021, 6:38pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/12 "2021-06-03T18:38:31Z")

</div>

there is a solution for this because the same thing happens to me

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 3, 2021, 7:36pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/13 "2021-06-03T19:36:11Z")

</div>

Can you explain how you’re trying to download a file from the web viewer?

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [June 3, 2021, 10:26pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/14 "2021-06-03T22:26:10Z")

</div>

of course, in my case it is a form that generates a PDF and downloads it

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 3, 2021, 11:48pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/15 "2021-06-03T23:48:03Z")

</div>

Okay and the form is a website someone else made, a website you made, a script, …?

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [June 4, 2021, 12:50am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/16 "2021-06-04T00:50:42Z")

</div>

I have created, the website  
[https://municipios-b274a.web.app/](https://municipios-b274a.web.app/)  
this is the site

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 4, 2021, 5:00pm UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/17 "2021-06-04T17:00:14Z")

</div>

You button is just a “submit” button in a form. Are you generating PDF from the server side?

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [June 5, 2021, 4:54am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/18 "2021-06-05T04:54:44Z")

</div>

Hello muneer, the pdf generates perfectly being on the web but when I use the web view the application stops  
I do not understand your question, that if the pdf generates on the server side 😅 😅 🤔

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 5, 2021, 5:00am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/19 "2021-06-05T05:00:03Z")

</div>

Do you need `web viewer` or you can do it with `open link`?

If it works from the browser then it will work when you use `open link`.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [June 5, 2021, 5:57am UTC](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201/20 "2021-06-05T05:57:09Z")

</div>

if from an open link it works perfectly, but I would like to use the web view  
because I would like to bring some data from the web form

[Next page](https://community.thunkable.com/t/issue-downloading-file-within-web-view/443201.md?page=2)
