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
I added package to my project but when i add "ar" (augmented reality) attribute to the element, an error in the console says me that the the xr-spatial-tracking directive is missing from the Permission-Policy header. I tried to add this header in entry.server file but it doesn't work. I read that it is impossible to set this header in an iframe (google chrome doc) appart from directly add "allow" attribute.
So I have a question, is there a way to add this permission in app's iframe or not ?
Before opening this issue, I have:
Looked for similar issues in this repository
Checked that this isn't an issue with a Shopify API
Issue summary
I added package to my project but when i add "ar" (augmented reality) attribute to the element, an error in the console says me that the the xr-spatial-tracking directive is missing from the Permission-Policy header. I tried to add this header in entry.server file but it doesn't work. I read that it is impossible to set this header in an iframe (google chrome doc) appart from directly add "allow" attribute.
So I have a question, is there a way to add this permission in app's iframe or not ?
Before opening this issue, I have:
Expected behavior
When click on ar button of model-viewer, it opens the ar viewer.
Actual behavior
The text was updated successfully, but these errors were encountered: