gluestack / gluestack-ui

React & React Native Components & Patterns (copy-paste components & patterns crafted with Tailwind CSS (NativeWind))
https://gluestack.io/
MIT License
2.36k stars 114 forks source link

Compatilibity with Expo SDK 51 #2142

Open kralion opened 4 months ago

kralion commented 4 months ago

Description

Compatility errors when upgrading to the new version of expo sdk

CodeSandbox/Snack link

No response

Steps to reproduce

  1. Create a project with npm create gluestack
  2. Select expo router v3
  3. upgrade to the sdk because that's a requirement for emulating on Expo Go App
  4. npm install expo@latest
  5. npx expo install --fix
  6. See the errors

gluestack-ui Version

latest

Platform

Other Platform

No response

Additional Information

I have a project built with nativebase, and i am having the same issue, so i tried to upgrade the ui library to gluestack, but there is also compatibility errors, because of the new sdk by expo.

vzla0094 commented 4 months ago

What version are you upgrading from? This issue might be related: https://github.com/gluestack/gluestack-ui/issues/1669

DaminiPandey commented 4 months ago

@kralion Thanks for reporting the issue, we'll have a look.

pierrebiver commented 4 months ago

I have the same problem and I think its due to the react native svg dependency:

Screenshot 2024-05-11 at 12 02 40
kralion commented 4 months ago

What version are you upgrading from? This issue might be related: #1669

Upgrading from the SDK 49

myleftshoe commented 3 months ago

Yep, I get compat issues too when trying to add gluestack to an existing expo project @51.0.9

image

I tried upgrading react to 18.3.1 but that caused other issues with expo

sawankumar1012 commented 2 months ago

i have the same issue ,anyone found resolution to this ?

Screenshot 2024-07-15 at 8 24 53 PM