# Local html file Thunkable Web Viewer Extensions

**URL:** <https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237>\
**Category:** Questions about Thunkable X\
**Created:** [January 26, 2022, 4:04pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237 "2022-01-26T16:04:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![oberon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/oberon/32/112434_2.png) [@oberon](https://community.thunkable.com/u/oberon)\
**Post date:** [January 26, 2022, 4:04pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/1 "2022-01-26T16:04:21Z")

</div>

Hello, I’m back after several months of break and I thought I saw that this problem had been solved in the update of December 16 but the problem is persistent.

[https://community.thunkable.com/t/bug-packaged-html-files-are-not-sending-receiving-messages-via-the-webviewer-component/1594357](https://community.thunkable.com/t/bug-packaged-html-files-are-not-sending-receiving-messages-via-the-webviewer-component/1594357)

Why can’t we display text on the webviewer with a local file using POST MESSAGE?

---

<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:** [January 26, 2022, 4:11pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/2 "2022-01-26T16:11:15Z")

</div>

I haven’t seen this issue solved at all. HTML files added as assets to the project only function when you run your project from the computer using **Live Test** menu option.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/e/2e72aac227dd9059ed2d7105bc10f8b70fd41bc5.png)

It still does not run when executed from the mobile.

Maybe @jared can give more updates.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 26, 2022, 4:16pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/3 "2022-01-26T16:16:59Z")

</div>

yikes! this is supposed to be fixed. Let me look into this!

---

<div class="post-metadata">

**Author:** ![oberon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/oberon/32/112434_2.png) [@oberon](https://community.thunkable.com/u/oberon)\
**Post date:** [January 26, 2022, 4:43pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/4 "2022-01-26T16:43:51Z")

</div>

Thank you for your answer, keep us informed

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 26, 2022, 5:32pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/5 "2022-01-26T17:32:43Z")

</div>

Hey @muneer @oberon

It appears that this is only working on web Preview and downloaded/complied iOS apps. I tested a downloaded android app which failed and iOS on live preview fails also.

One idea is to, instead of linking to your external scripts, include the script itself in your HTML file so there is no externally linked script tag but instead all of the code form that link copy/pasted into the HTML. file between tags in the head

---

<div class="post-metadata">

**Author:** ![oberon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/oberon/32/112434_2.png) [@oberon](https://community.thunkable.com/u/oberon)\
**Post date:** [January 26, 2022, 5:36pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/6 "2022-01-26T17:36:47Z")

</div>

I can use an external URL but it shouldn’t be like this. It will create traffic for nothing

I want to display an invoice on the webviewer as I had done.

[Create Invoice (Display on Thunkable live,Send by email with pdf attachment) - Thunkable Tutorials - Community](https://community.thunkable.com/t/create-invoice-display-on-thunkable-live-send-by-email-with-pdf-attachment/1433301)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 26, 2022, 5:38pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/7 "2022-01-26T17:38:39Z")

</div>

> [@oberon](#):
>
> I can use an external URL but it shouldn’t be like this. It will create traffic for nothing

Yup! This is an issue. I have escalated this as a bug and will keep this forum post updated when I hear more from the team! This was fixed at one point and was verified as fixed by myself and one other, so it’s odd that we are seeing it again.

---

<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:** [January 26, 2022, 5:47pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/8 "2022-01-26T17:47:17Z")

</div>

> [@jared](#):
>
> One idea is to, instead of linking to your external scripts, include the script itself in your HTML file so there is no externally linked script tag but instead all of the code form that link copy/pasted into the HTML. file between tags in the head

I just created a new project having only a `Web Viewer`.

I created a HTML file and added it to the project.  
The file content is

```auto
<!DOCTYPE html>
<html>
<body>
<h1> Test Text </h1>
</body>
</html>

```

This is how it looks in the computer preview

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/2/423ac34e9091610aa30954ea545014459475a2c5.png)

This is how it looks from the phone

 ![IMG_20220126_204751](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/e/fe7480648f87ee2f5579fd8c0e8ee7943c619d06.jpeg)

So apparently, the workaround you suggested does not work.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 26, 2022, 5:56pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/9 "2022-01-26T17:56:36Z")

</div>

I’ve raised the first part as a new bug today.  
Yikes! I see that bug is still in our bug tracker! Seems like that one is still around. 😢 Our engineers are looking into this today/tomorrow!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 26, 2022, 5:56pm UTC](https://community.thunkable.com/t/local-html-file-thunkable-web-viewer-extensions/1697237/10 "2022-04-26T17:56:37Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
