-
Notifications
You must be signed in to change notification settings - Fork 271
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
[Bug] iOS Simulator not connected to network inspector #1714
Comments
Hi @amaankulshreshtha and thanks for reaching us. Under the hood the extension uses the Flipper plugin embedded to the React Native app to inspect network traffic. It seems that in the demo project there is no the Flipper plugin in the iOS platform according to the
After that we could run the network inspector in the extension and track network traffic without problems. Could you please try to add the Flipper plugin to your iOS platform and run the network inspector again? We'll also improve our documentation about Network inspector requirements. |
@amaankulshreshtha We investigated the error |
Hi @RedMickey, I will try the Will let you know the findings soon for both the comments. Thank you for the prompt response ! 😄 |
Hi @RedMickey I have verified that the solutions you mentioned for RN 0.65+. Adding PS: Still need to verify the |
Hey @RedMickey, I tried the solution above, but I suppose there's something I'm missing out on. I wasn't able to connect the iOS simulator with network inspector. Could you list down the exact steps you followed to connect the simulator to the network inspector |
@amaankulshreshtha I tried out your updated project and could start and connect to the network inspector. Here is my steps for running the network inspector:
After the application started, the network inspector connected to it automatically, and network requests data were printed to the Dev Tools console. Could you please try to use the steps above to connect to the network inspector? |
Hi @amaankulshreshtha we've released React Native Tools v1.9.0 with the fix for the error |
@amaankulshreshtha Closing this issue due to inactivity. Please feel free to reopen if the problem still persists. |
Hi, @RedMickey apologies for the late response. I tested out the solution you gave for RN 0.64. It works. Thanks for your time :) |
🐛 What is the bug? How can we reproduce it?
When running the network inspector on iOS simulator (iPhone 12, iOS 15.2), the device does not get connected
yarn
followed byyarn pod-install
.yarn ios
Expected behavior
VSCode Developer console should open automatically and requests should be recorded
Debug output
Debug Console
React Native output channel
Developer Tools console
Environment
Please tell us about your system and your project:
npx react-native doctor
ornpx expo doctor
if your project is using Expo:envinfo
:The text was updated successfully, but these errors were encountered: