[FIX] - retain cycle when refreshing content (aka. ads)
Hello,
we found out that if we either reload content in the stern app or if we simply navigate through many articles that the device a) gets extremely hot b) uses a lot of energy and c) memory runs full. After investigating the issue we discovered that we create instances from this package (namely the AdMobBanner -> AdViewContext and everything thats connected to it).
We discovered that:
- AdViewContext will never be released, every reload will create an instance but the previous banner are not released
- references to AdViewContext in Identity is strongly stored