EAS Simulator embed example
Two ways to show an EAS Simulator session on your own page. Both need the preview host URL and the session token. Get them from eas simulator:start --json or from the remoteConfig of the session in the Expo API.
- Embed the preview page in an iframe. Start the session with
--frame-ancestorset to the origin of this page. - Render the screen with @expo/hub-client. Start the session with
--cors-originset to the origin of this page.
Origin of this page: …