expo / snack

Expo Snack lets you run Expo in the browser.
https://snack.expo.dev
MIT License
348 stars 97 forks source link

refactor(runtime): drop `cloudEnv` in favor of `EXPO_PUBLIC_SNACK_ENV` #526

Closed byCedric closed 6 months ago

byCedric commented 6 months ago

Why

Part of ENG-11039

Now that we have proper environment variables support, the old system blocks more than it helps.

How

This replaces require('expo-constants').manifest.extra.cloudEnv with just process.env.EXPO_PUBLIC_SNACK_ENV.

Test Plan

This will be part of the SDK 50 release.

linear[bot] commented 6 months ago

ENG-11039 [Runtime] Update supported Snack URL