react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

react navigation 5 doesn't work with react native debugger

Open khaledBou opened this issue 4 years ago • 6 comments

React Native Debugger app version: v0.10.8, v0.11.0, v0.10.9, v0.11.1, v0.10.10 and v0.11.3 React Native version: 0.62.2 Platform: [FILL THIS OUT: iOS, Android, ...]

React-native info :

info Fetching system and libraries information... System: OS: Windows 10 10.0.18363 CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz Memory: 5.38 GB / 23.88 GB Binaries: Node: 12.16.2 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: API Levels: 26, 27, 28, 29 Build Tools: 28.0.3, 29.0.2 System Images: android-28 | Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom Android NDK: 20.0.5594570 IDEs: Android Studio: Version 4.0.0.0 AI-193.6911.18.40.6514223 Languages: Java: 1.8.0_211 - /c/Program Files/Java/jdk1.8.0_211/bin/javac Python: Not Found npmPackages: @react-native-community/cli: Not Found react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2 npmGlobalPackages: react-native: Not Found

I'm using react navigation 5 , when i connect the app to RND the navigation doesn't work .

I tried all RND versions

khaledBou avatar Jun 15 '20 08:06 khaledBou

+1

tastafur avatar Jun 19 '20 09:06 tastafur

RN Debugger: 0.9.14 RN: 0.60.6 @react-navigation/drawer: 5.8.2 (also tried 5.7.4) @react-navigation/native: 5.5.1 (also tried 5.3.2) @react-navigation/stack: 5.5.1 (also tried 5.2.14)

Gives me the following error:

...\node_modules\react-native\Libraries\Core\ExceptionsM…:86 TypeError: Object.fromEntries is not a function

This error is located at:
    in DrawerItemList (at DrawerContent.tsx:9)
    in RCTView (at View.js:35)
    in View (at ScrollView.js:1007)
    in RCTScrollView (at ScrollView.js:1147)
    in ScrollView (at DrawerContentScrollView.tsx:20)
    in DrawerContentScrollView (at DrawerContent.tsx:8)
    in DrawerContent (at DrawerView.tsx:73)
    in RCTView (at View.js:35)
    in View (at createAnimatedComponent.js:233)
    in AnimatedComponent(View) (at Drawer.tsx:687)
    in RCTView (at View.js:35)
    in View (at createAnimatedComponent.js:233)
    in AnimatedComponent(View) (at Drawer.tsx:622)
    in PanGestureHandler (at GestureHandler.native.tsx:13)
    in PanGestureHandler (at Drawer.tsx:613)
    in DrawerView (at DrawerView.tsx:203)
    in SafeAreaProviderCompat (at DrawerView.tsx:201)
    in GestureHandlerRootView (at GestureHandlerRootView.android.js:31)
    in GestureHandlerRootView (at DrawerView.tsx:200)
    in DrawerView (at createDrawerNavigator.tsx:44)
    in DrawerNavigator (at MainLayout.js:39)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:288)
    in ForwardRef(BaseNavigationContainer) (at NavigationContainer.tsx:64)
    in ThemeProvider (at NavigationContainer.tsx:63)
    in ForwardRef(NavigationContainer) (at MainLayout.js:38)
    in MainLayout (created by ConnectFunction)
    in ConnectFunction (at App.js:12)
    in RNCSafeAreaView (at src/index.tsx:28)
    in SafeAreaProvider (at App.js:11)
    in Provider (at App.js:10)
    in App (at renderApplication.js:40)
    in RCTView (at View.js:35)
    in View (at AppContainer.js:98)
    in RCTView (at View.js:35)
    in View (at AppContainer.js:115)
    in AppContainer (at renderApplication.js:39)

Vidzhel avatar Jun 20 '20 03:06 Vidzhel

No errors here but weird caching issues. When RND is active my app (RN62) shows an older state that can't be flushed.

jasheal avatar Jun 25 '20 11:06 jasheal

No errors here but weird caching issues. When RND is active my app (RN62) shows an older state that can't be flushed.

Do you have the Developer console up? Have you tried clicking Network-> Disable Cache? If not, there is a bug where it will cache code.

jonathanstiansen avatar Aug 21 '20 16:08 jonathanstiansen

I have a similar issue that could be related : https://github.com/zalmoxisus/redux-devtools-extension/issues/763

lhgustin avatar Oct 01 '20 11:10 lhgustin

Anyone has any news on this subject?

rafatrace avatar Jun 15 '21 08:06 rafatrace