voxeet / comms-sdk-react-native

Dolby.io Communications SDK for React Native
https://www.npmjs.com/package/@dolbyio/comms-sdk-react-native
MIT License
8 stars 0 forks source link

Unable to view network requests in the debugger. #129

Closed dannyBies closed 1 year ago

dannyBies commented 1 year ago

Network requests do not show up in flipper which makes it difficult to debug issues. I believe this is due to this SDK calling the android/ios specific SDKs to make network requests.

Is there any way to view these requests and responses without going into android/ios specific tooling?

graduad commented 1 year ago

Network request are indeed crated by the Android and iOS SDKs, hence observing network requests in ReactNative will not log them in Flipper. Perhaps using the Flipper SDK/plugins in the native projects may help, but I have not tried it and do not know if it will actually work.

But I was wondering, is there a particular issue you have troubles with?

dannyBies commented 1 year ago

I can't seem to find any Flipper plugin that does this unfortunately.

There's no specific issue I'm having trouble with but it would be nice to see the requests/responses as they're very helpful when trying to debug issues. Another reason is that I'm tracking dependency data in ApplicationInsights. This way I can see every network request I or other 3rd parties make to help with debugging issues my users have on the app. Dolby doesn't show up in these.

graduad commented 1 year ago

Unfortunately our requests are done in native code and will not be visible in Flipper. At the moment we do not have any plans of exposing these to the react native part. Should this cause issues in the future, please raise another ticket.