Open hkeithk opened 2 years ago
Hi @hkeithk!
I just added a demo application https://github.com/bgaleotti/react-query-native-devtools/pull/96. Could you check if that works for you?
Thank you very much @bgaleotti, will take a look ASAP and report back!
There is sth wrong with npm.
When I look at the npmjs page, I see that the package version is v4.1.1.
However, when I try to install it on the terminal, I get v4.0.0
@bgaleotti , I wonder if you could republish your package. It might solve this issue.
@efkan there's nothing wrong.
WARN
The native module for Flipper seems unavailable. Please verify that react-native-flipper
is installed as yarn dependency to your project and, for iOS, that pod install
is run in the ios
directory.
"dependencies": {
"@tanstack/react-query": "^4.16.1",
"expo": "~47.0.7",
"expo-community-flipper": "^47.0.0",
"expo-status-bar": "~1.4.2",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-native": "0.70.5",
"react-native-flipper": "^0.174.0",
"react-native-web": "~0.18.9"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~18.0.14",
"@types/react-native": "~0.70.6",
"react-query-native-devtools": "^4.0.0",
"typescript": "^4.6.3"
},
"private": true
}
@williamneves are you using https://docs.expo.dev/development/create-development-builds/?
Hey @bgaleotti , the demo app worked great! Thanks for sharing and apologies on the delayed response.
I've tried to recreate the same experience on a personal project but have not had success. Likely some flipper configuration specific to my project.
Separately - also seeing the same warning message as @williamneves. We did not use the link above
@hkeithk
Separately - also seeing the same warning message as @williamneves
Are you using expo?
me too! ðŸ˜
@intoday87 did you run pod install
as the warning says? Otherwise, please provide a repro repository.
@bgaleotti
year! I tried clean pod install then( remove Pod
folder and Podfile.lock
and execute pod install
)
in my personal repo it was solved by upgrading react-native version(0.70) and react(18) but it is huge thing.
you should try to reproduce failure by going back to previous commit :)
https://github.com/intoday87/react-native-practice/commit/7ed55afadd7da178d6a5dc2e13333c1f9bc61708
My company's source is still version 0.66, so the problem still occurs.
Thanks @dong-ho-lee will see if the v.70 update works on ours
same issue
Following the instructions here fixed the issue for me.
Hi @bgaleotti !
Trying to setup the plugin to work with flipper. Followed all the described setup steps including installing react-query-native-devtools (4.0.0) and in my application, setting it up in the App.js file to consume the queryClient, and installing flipper-plugin-react-query-native-devtools within flipper.
I was not able to find much documentation elsewhere on what may be going wrong, but the flipper-plugin is showing up as '..not supported by the selected application'
Any suggestions would be highly appreciated! Also happy to provide any other documentation as necessary
react: 18.2 react-native: 0.68 react-native-flipper": 0.164.0 react-query-native-devtools: 4.0.0 flipper desktop: 0.164.0