devtools
                                
                                
                                
                                    devtools copied to clipboard
                            
                            
                            
                        Rest API Calls are not Logged
Hello Flutterians i am facing an strange issue where i am unable to see api calls in dev tools.
DevTools version: 2.34.3 IDE: Android-Studio Connected Device: CPU / OS: arm64 (64 bit) android Connected app type: Flutter native (debug build) Dart Version: 3.4.0 Flutter Version: 3.22.0 / stable Framework / Engine: 5dcb86f68f / f6344b75dc
@CoderDake
@Gagnar1999 could you please provide an example of the api calls? Some code to help reproduce this would go a long way :)
The issue is when i call api through http/dio network library it should be visible in the network tab in dev tools section but instead of showing any api call it just show internet address calls only.
also i want one more feature request can you guys removed these internet address logs from network tab it causes issue when there are multiple api calls @CoderDake
Progress for additional network logging support is is being tracked here: https://github.com/flutter/devtools/issues/7764
I'll close this as a duplicate.
RE your additional request:
Those requests can be filtered out using the a -type:ws filter. That will hide those logs you don't want to see
@CoderDake can you correct link where issue is being tracked, you linked and closed this issue as duplicate of itself? This issue only happen with Android Emulator and latest Flutter 3.22, working fine on real device.
on Flutter 3.19 showing rest api and DO NOT have InternetAddress(...) on Flutter 3.22 showing InternetAddress(...) and DO NOT have rest api
Update: issue happen after app run few seconds. request call immediately when app running will showing, but later not.