You can embed previews from Snack using the Embed option in zeroheight.
What is Snack?
Snack is a service from Expo which allows you to build interactive code playgrounds in the browser for development and sharing with others.
If you have Expo code samples that you want to share with team members, this service will help you manage, share and run the samples on device.
How to embed React Native apps using Snack
In Snack:
- Go to the project you want to preview and select. the platform you want to embed
- Open the link in a new tab using the button on the top right of the preview
- Copy the URL for the tab
In zeroheight:
- Use the
/inserter to add an Embed block to the page - In the URL section, paste the preview URL you copied
- You should now see the content in the Embed block
Can I embed iOS and Android apps?
Snack is designed to work with Expo and the extended React Native ecosystem so it's not guaranteed that all native modules will work.
Snack leverages Appetize to show previews on devices, for wider flexibility you can use this service directly and copy embed URL into zeroheight. See the Appetize documentation on embedding for how to find the URL.