You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The leak you are mentionning is already known internally and is purely a matter of code structure that we are currently re-architecturing. Also the issue is amplified by the fact that the leaking activity (our demo MainActivity) is actually passed to the SDK (in place of a Context) at multiple occasions in our demo repo. Ie : this line of InReadScrollViewFragment.
You should be fine using the SDK in your apps as long as you don't pass activities in place of contexts.
Thanks very much @teads-mattis-toutain. It's good to hear a fix is on the way. Could you ping this thread when it's ready in case I miss it?
To make sure I understand, passing in applicationContext to a call like below would still function correctly, and would at least improve the leak situation?
For reproduction see fork: https://github.com/keithsmyth-thescore/TeadsSDK-android
code changes: keithsmyth-thescore@f25ff56
Leak Canary and Profiler both report memory leaks when following the reproduction steps below.
Reproduction steps:
The leak we're experiencing in our application is the Thread.defaultUncaughtException one, details below
The text was updated successfully, but these errors were encountered: