We're using the expo snack-sdk package to display a preview of expo apps created using a GUI.
We're having success with ios/android expo go apps using the url, as well as web using the webPreviewURL in an iframe on localhost - but unfortunately we can't get the iframe to load in production from a domain other than localhost.
Summary
We're using the expo snack-sdk package to display a preview of expo apps created using a GUI.
We're having success with ios/android expo go apps using the
url
, as well as web using thewebPreviewURL
in an iframe on localhost - but unfortunately we can't get the iframe to load in production from a domain other than localhost.How can we get the webPreviewURL to load in an iframe in a production environment at a url other than localhost?
What platform(s) does this occur on?
Web
SDK Version
49.0.0
Reproducible demo or steps to reproduce from a blank project
https://codesandbox.io/s/snack-sample-ls0zrt