You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
Here is a link to the project page. Oddly enough, the issue doesn't exist on the project page preview. Only in the 'in editor' preview and the companion app preview.
The bug is occurring when the HTML is packaged with the app. Although the HTML is displayed in the webviewer, it would seem that the JS scripts are not being ran on the packaged page.
I have prepared this simplified example of this issue.
On screen 1 (using a packaged HTML page) the label on the screen does not change when the button is press from within the webviewer.
On screen 2 (using a hosted HTML page) , the label will change when the button is pressed from within the webviewer
the same HTML file is used in both screens but 1 is a local asset and the other is hosted on Github pages.
I am using an exact replica of the code provided on the Github page. I created a local copy by copy/pasting into VS code and loading the file into the app assets. I then uploaded a copy here to reference in the app as a comparison of local vs hosted HTML page.
The text was updated successfully, but these errors were encountered:
hey @jaredgibb thanks for the detailed report. Would you know if this is specific to STP/legacy projects?
Just starting to look into it, I can repro for the project provided, but DND seems fine on preview for both hosted and http html. Will focus on STP for now.
But what I need is the answer of a running HTML.
Must I reserve a domain name to be abble to do it ?
I miss something can you give me the way to follow ?
sorry if my questions are not relevant but this domain is new to me.
best regards
ealalin1
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugSomething isn't workingfollow upThunkable to follow up
Here is a link to the project page. Oddly enough, the issue doesn't exist on the project page preview. Only in the 'in editor' preview and the companion app preview.
The bug is occurring when the HTML is packaged with the app. Although the HTML is displayed in the webviewer, it would seem that the JS scripts are not being ran on the packaged page.
I have prepared this simplified example of this issue.
On screen 1 (using a packaged HTML page) the label on the screen does not change when the button is press from within the webviewer.
On screen 2 (using a hosted HTML page) , the label will change when the button is pressed from within the webviewer
the same HTML file is used in both screens but 1 is a local asset and the other is hosted on Github pages.
I am using an exact replica of the code provided on the Github page. I created a local copy by copy/pasting into VS code and loading the file into the app assets. I then uploaded a copy here to reference in the app as a comparison of local vs hosted HTML page.
The text was updated successfully, but these errors were encountered: