-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redux Debugger not registering in flipper #10
Comments
The same is happening for the same App with an iOS Simulator on Mac. |
Hey, thanks for using I've tested on my environment (macOS, flipper 0.39) and it works great. Can you try to restart Flipper a few times or using Another thing to note that the current implementation of the plugin you have to dispatch your 1st action in order to get the plugin connected. I'm planning to change the behavior in the future. So if you can't see Redux Debugger on your Flipper, maybe you can try to dispatch an action. |
Same problem, refreshing Flippern isn't fixing it. |
May I know what is your |
"react-native": "0.62.1", But I also have the same problem as mentioned here: facebook/react-native#28531 (Debugger only connects only with having lot of problems with my app) So I can't really say that this is a Flipper problem but I guess so. I have to fix the other problem first to be sure. |
Did u try to dispatch any redux action? Because of the current implementation of the plugin you have to dispatch your 1st action in order to get the plugin connected. |
I just switched to flipper and I am having the the same issue on the flipper desktop app running a react native project I am getting the following status when clicking manage plugins. I am thinking maybe the fact that it shows flipper plugin sections as disabled has something to do with it. I have looked around to find out how to enable this and there is no documentation regarding this. Any help would be great. |
Hi @salamancajr , just a quick check with you.
I just tested with 2 newly created react-native apps and they work fine on my side |
i dispatched an action and i see it now. |
I'm glad it works now @salamancajr! We will change the connection implementation in the next version to start the flipper connection when your app is started. So you will be able to see Redux Debugger in your Flipper before you dispatch any action. |
Enhanced in
|
@jk-gan I have installed redux-debugger plugin, but not seeing it on flipper. |
Ok, let's work together to figure out what is the root cause, can you answer these questions for me?
|
Yes, redux-flipper 1.1.0 is installed
Yes.
Apart from redux-flipper, there is
Yes app has connected to Flipper, and I am able to see other things like Logs, Layout, Network etc. I also tried installing some other plugins, none of them show up. Also, I am not able to see the pre-installed React Dev tools plugin too. Could this be some other issue? |
Can you show me your plugin status? |
Looks like your Android setup is incorrect. That problem is unrelated to
this plugin, best check the Flipper setup docs or file an issue at Flipper.
…On Thu, 21 May 2020, 23:22 PoojaMD, ***@***.***> wrote:
@jk-gan <https://github.com/jk-gan> Even I'm facing the same issue
[image: Screenshot 2020-05-22 at 3 50 28 AM]
<https://user-images.githubusercontent.com/19702886/82612019-80415900-9bdf-11ea-8fa8-5fa598ad8195.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN4NBERZAYNUHSTIPU6XETRSWSRJANCNFSM4MQG54QA>
.
|
I had a same issue because i am using too low version of flipper(0.3.x) |
Same issue here, with latest react-native (0.63.2), Flipper (0.52.1) and redux-flipper (1.3.1) versions, on both android and iOS emulators. I see the flipper-plugin-redux-debugger (v 1.2.0) with green plugin status in the Flipper app, but it's supposedly not supported by my app. The middleware is set up according to the documentation and it's the only one, besides redux-saga. I also made sure that an action is dispatched and tried reloading Flipper, uninstalling and reinstalling my app, cleaning build folders, clearing cache etc. and even installing react-native-flipper as a peer dependency (even though this shouldn't be required with react-native versions 0.62+) – nothing seems to work. Did anybody solve this? |
Hi, do you see Redux debugger in the sidebar? |
Can you share the reproduce steps here? because I can get the plugin work on my side. |
+1, not showing up. Used to work before. On Flipper desktop version 0.53.0. |
Tested in Flipper desktop version 0.54.0 and it is working fine. |
Showing up. Flipper : 0.62.0(50.0.0) |
Thanks @kimkr it fixed for me as well. |
To those who are facing this issue on Android, auto linking seems to be returning Flipper instance undefined in react-native-flipper/index.js. I fixed it by adding |
For the life of me I cannot get this to show up in the sidebar, Flipper version 0.102.0. As far as I got was to use the repo to load it in manually and it failed but at least I saw it in the sidebar. I even tried to bundle it myself with no luck.. any thoughts? |
@zmanring There are a few of things you may check.
|
I am having the same issue but only on Android. iOS simulator was fine. "react-native-flipper": "0.103.0" Flipper desktop version 103. We use redux-observable (epics), on iOS simulator, it was running perfectly. I could see everything. Once loading on Android device / or emulator, I know Flipper is connected to the device because I could see my device log via the Flipper desktop app. I also ran
On the Flipper desktop app, there is a green dot beside flipper-plugin-redux-debug under plugin status. So it is enabled. Is there any pointers where I could look? I don't see any errors coming from flipper nor the plugin itself from the device log. Yet just reading thru the redux-flipper code (index.ts file), it looks like maybe there is a connection issue with flipper.... So we installed the flipper using the manual android setup way.. i could see Network and Layout plugin enabled but not redux-debugger. would that make a difference? |
@und3f1n3d |
OMG.. is this magic? now i see Redux-Debugger listed on the sidebar. all i did was restart my app, unplug and replug my device to the laptop. Now Flipper can see 'Redux-Debugger' and i could see redux running. Pretty sure i did this many times before i add my comment, so I don't embarrass myself!! Anyway, thank you so much!! |
This is how you add Flipper if your are using Redux Toolkit: |
Not working with both answers Flipper : 0.166.0 |
Hi @Vincetroid , if possible, can you share the code you insert middleware into redux toolkit? |
It seems working now, I had to uninstall the incorrect redux plugin and worked with ->
|
Was same issue, matching flipper version of desktop client and RN package to 174 resolved the issue for me |
Hello @jk-gan, unfortunately I am getting the same error. I am using Redux toolkit. I tried the middleware options mentioned above, but none of them helped. Below is a screenshot of how I connect the middleware to my Redux toolkit. Also I didn't forget to run pod install. Plugin status is green in Flipper itself. It seems to me that I have a problem with the versions of something, but this is not accurate) Can you please tell me what could be the problem? Flipper : 0.182.0 |
Hey, thanks for reporting this, I will check on this later. Does this only happen for iOS? |
Yes |
@jk-gan Were you able to reproduce the bug? I'm pinging you just to raise this issue) |
@sergeyalikin , actually everything works fine on my machine. |
perhaps you can provide me a reproducible react-native project so I can take a look |
@jk-gan This happens on a working project, so I'm not sure if I can do it( If everything works for you, I'll try to find the problem myself. I'll write here if I understand what the problem was. Thank you! |
alright |
I had the same problem, but fixed it by updating Flipper to the latest version! |
I'm using Flipper 0.39.0 on Linux with Android on an Emulator and I think I have enabled all the required initialization. But the Flipper Redux Debugger Pluing does not get listed and in the Flipper debugger console I see the following error:
The text was updated successfully, but these errors were encountered: