Closed n3cr0murl0c closed 4 months ago
Hey, thanks for the report! Since v2 brought a lot of architectural and API changes on the backend, we will be closing this ticket since it no longer applies to our new setup, or the issue has already been fixed. If you are still facing issues with v1, please open a new ticket and we will address it as soon as possible. Thanks! 🙏
Bug report
This error is located at: in tr (at Home.tsx:88) in RCTView (at View.js:116) in View (at ScrollView.js:1732) in RCTScrollView (at ScrollView.js:1855) in ScrollView (at ScrollView.js:1925) in ScrollView (at Home.tsx:74) in RCTView (at View.js:116) in View (at Home.tsx:65) in Home (at App.js:47) in StaticContainer in EnsureSingleNavigator (at SceneView.tsx:124) in SceneView (at useDescriptors.tsx:218) in RCTView (at View.js:116) in View (at DebugContainer.native.tsx:34) in DebugContainer (at NativeStackView.native.tsx:82) in MaybeNestedStack (at NativeStackView.native.tsx:325) in RCTView (at View.js:116) in View (at NativeStackView.native.tsx:318) in RNSScreen (at createAnimatedComponent.js:54) in Unknown (at src/index.native.tsx:314) in Suspender (at src/index.tsx:27) in Suspense (at src/index.tsx:26) in Freeze (at src/index.native.tsx:206) in DelayedFreeze (at src/index.native.tsx:313) in InnerScreen (at src/index.native.tsx:566) in Screen (at NativeStackView.native.tsx:253) in SceneView (at NativeStackView.native.tsx:413) in Suspender (at src/index.tsx:27) in Suspense (at src/index.tsx:26) in Freeze (at src/index.native.tsx:206) in DelayedFreeze (at src/index.native.tsx:220) in RNSScreenStack (at src/index.native.tsx:227) in ScreenStack (at NativeStackView.native.tsx:401) in NativeStackViewInner (at NativeStackView.native.tsx:474) in RNCSafeAreaProvider (at SafeAreaContext.tsx:92) in SafeAreaProvider (at SafeAreaProviderCompat.tsx:55) in SafeAreaProviderCompat (at NativeStackView.native.tsx:473) in NativeStackView (at createNativeStackNavigator.tsx:72) in PreventRemoveProvider (at useNavigationBuilder.tsx:718) in NavigationContent (at useComponent.tsx:35) in Unknown (at createNativeStackNavigator.tsx:71) in NativeStackNavigator (at App.js:45) in EnsureSingleNavigator (at BaseNavigationContainer.tsx:433) in BaseNavigationContainer (at NavigationContainer.tsx:132) in ThemeProvider (at NavigationContainer.tsx:131) in NavigationContainerInner (at App.js:44) in uo (at App.js:41) in ThemeProvider (at styleProvider.component.js:19) in MappingProvider (at styleProvider.component.js:18) in StyleProvider (at applicationProvider.component.js:93) in ApplicationProvider (at App.js:40) in QueryClientProvider (created by Bs) in Bs (at App.js:39) in App (at withDevTools.js:18) in withDevTools(App) (at renderApplication.js:57) in RCTView (at View.js:116) in View (at AppContainer.js:127) in RCTView (at View.js:116) in View (at AppContainer.js:155) in AppContainer (at renderApplication.js:50) in main(RootComponent) (at renderApplication.js:67), js engine: hermes
Describe the bug
After adding sessionCartProvider from https://docs.medusajs.com/references/medusa-react/providers/session_cart, app wont compile. it calls for setItem method (i've assume from AsyncStorage) but react-native dropped it and its now handled by the community so idk it has anything to do with it. After removing the provider apps works without problem. Home is surrounded with : from ui.kitten
<MedusaProvider queryClientProviderProps={{ client: queryClient }} baseUrl={BASE_URL}> from medusa
<ApplicationProvider {...eva} theme={eva.light}> from ui.kitten