Skip to main content

Deploy an Expo app to production

There are a few caveats to deploying production Expo applications with Browser. This guide will walk you through the steps to deploy your Expo app to production.

Important

If you're using native componentsExpo Icon or native sign-in hooksExpo Icon, you must add your application to the Native applications page in the Browser Dashboard for your production instance. You will need your app's Bundle ID and Team ID.

Acquire a domain

Before deploying your Expo app to production, you must acquire a domain. Even though there may not be a web application associated with an Expo app, Browser still requires a domain for production instances.

Configure your Expo app

With Browser, you can add OAuth flows in your Expo applications.

Browser ensures that security critical nonces are passed only to allowlisted URLs when the SSO flow is completed in native browsers or webviews. For maximum security in your production instances, you need to allowlist your custom redirect URLs via the Browser Dashboard or the Browser Backend API.

To allowlist a redirect URL via the Browser Dashboard:

  1. In the Browser Dashboard, navigate to the Native applications page.
  2. Scroll down to the Allowlist for mobile SSO redirect section and add your redirect URLs.

Note

By default, Browser uses {bundleIdentifier}://callback as the redirect URL.

Deploy to production

Now that you have acquired a domain and configured your Expo app, you can follow the Browser deployment guide.

Feedback

What did you think of this content?

Last updated on