gluestack / gluestack-ui

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

Support for react-native 0.7 is missing #2573

Open CodeMode365 opened 2 weeks ago

CodeMode365 commented 2 weeks ago

Description

Previous component implementation of gluestack-ui v2 is not working in react-native bridgeless version i.e 0.7

Problem Statement

This features enables to make faster and latest react native app with gluestack ui

Proposed Solution or API

I don't have the code, but i tried using it with version react native version 0.7 and expo version 52 but i throws an error

Alternatives

No response

Additional Information

No response

roy-law commented 1 week ago
iOS Bundling failed 481ms node_modules/expo-router/entry.js (12 modules)
 ERROR  SyntaxError: $HOME/node_modules/@expo/metro-runtime/src/location/install.native.ts: Missing semicolon. (16:37)

  14 | import getDevServer from '../getDevServer';
  15 |
> 16 | const manifest = Constants.expoConfig as Record<string, any> | null;
     |                                      ^
  17 |
  18 | function getOrigin() {
  19 |   if (process.env.NODE_ENV !== 'production') {

To reproduce:

jordcodes commented 6 days ago

I am experiencing this after moving to expo sdk52 and RN with new arch.

Did you find any solutions?

ha0min commented 6 days ago

same issue happening to me do... can't even run the template project created by npx create-expo-app@latest after run npx gluestack-ui init

Viraj-10 commented 4 days ago

Hey @roy-law, @jordcodes, and @CodeMode365,

Please review your NativeWind configuration using these docs. Let us know which fixes worked for you.

If you're unable to resolve the issue, please share a github repo.