expo / snack

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

snack-sdk does not support SDK 51 #585

Closed biadars closed 1 month ago

biadars commented 1 month ago

Summary

The Expo Go iOS and Android apps now support SDK 51 exclusively, and cannot be downgraded. snack-sdk only supports SDK versions 48.0.0, 49.0.0, and 50.0.0 (see definition of SDKVersion in snack-content/build/sdks/types.d.ts). This means that if you download and install the latest version of Expo Go, you are locked out of running a snack generated via snack-sdk on your device.

Expected behaviour:

Actual behaviour:

What platform(s) does this occur on?

Android, iOS

SDK Version

51

Reproducible demo or steps to reproduce from a blank project

  1. Create any Snack via snack-sdk
  2. Install latest version of Expo Go on a mobile device
  3. Scan QR code from snack
biadars commented 1 month ago

Actually it looks like this was addressed by https://github.com/expo/snack/pull/577 (thanks @byCedric!). Any idea when this could be published? I'm working on a project using snack-sdk that's now broken until the next update

byCedric commented 1 month ago

Hi @biadars! We've just published snack-sdk@6.0.0 (had to bump the major version due to incorrect nested dependency constraints). This supports SDK 51!

Let me know if anything doesn't work for you

biadars commented 1 month ago

That was super quick! I've upgraded to the latest version and everything's working again, thanks for the swift fix 🙏