Development with the iOS Launch Viewer

Local dev servers & SSL

If you are reading this page in the Launch Viewer, your SSL certificate is invalid. Read below to connect to your local dev server with a valid SSL cert.

You have probably used local dev servers with 'self-signed' SSL certs in the past to get urls that start with https:// while developing. Due to security restrictions on iOS, you cannot use these dev servers with the Launch Viewer.

There are a range of options to connect your local code to an iOS app with a valid certificate:

Tunnelling requests to your dev server

Tunnelling services like Cloudflare Tunnel or ngrok expose your local dev server as if it was a public server with a valid SSL cert. By using one of these services with TLS/SSL enabled you can connect Variant Launch to the domain the service gives you

Check out our tutorial on how to get started using Tunnels. Once you have installed cloudflared, connecting your dev server to a full SSL url is as simple as running:

cloudflared tunnel --url http://localhost:YOUR_PORT

Automated Deployment

By using an automated deployment service like Cloudflare Pages you can have a testing url automatically update with each push to your repo. We recommend Cloudflare due to the ease of setup and generous free plan.

See their Getting Started documentation for details on linking your repo. Netlify and Vercel also provide similar services.


Previous
iOS browser considerations