fbsamples / audience-network

Open source projects to demonstrate SDK and sample code usages and integration, and to collaborate and support peers in this community.
https://developers.facebook.com/docs/audience-network
Other
318 stars 370 forks source link

Connection was leaked warning #79

Closed ziad-halabi9 closed 5 years ago

ziad-halabi9 commented 6 years ago

My logs are showing a warning saying: W/OkHttpClient: A connection to http://127.0.0.1:32873/ was leaked. Did you forget to close a response body?

It's showing when loading native ads using NativeAdsManager. The Ads are usually being loaded.

I am using the 5.0.1 version. My compile and target sdk version is 28. The support libraries are all 28.0.0. And I do declare android:networkSecurityConfig="@xml/network_security_config" in my manifest.

Am I missing something or should this warning be ignored? Thank you.

phzhou commented 5 years ago

Hi @ziad-halabi9 are you still having the same issue with the latest SDK versions? Thank you!

phzhou commented 5 years ago

If this is still an issue please feel free to use https://developers.facebook.com/support/bugs/ to report a bug and get in touch with product engineers. Thank you!