flutter-appodeal
flutter-appodeal copied to clipboard
Cache expiry
When we set the package for auto cache it downloads and cache the ads. But after a while the app is becoming slower and slower on some devices it’s crashing. Once the ad is displayed is the cache of that ad gets deleted ? How to handle his?
If you want to hide the banner from all activities and clear the memory, call the code below: Appodeal.destroy(Appodeal.BANNER);
I’m talking about destroy function it’s not working on your package
According to Appodeal's documentation the ads that are auto-cached are automatically freed from memory after they are used. As far as I know there's no way to cache the same ad type more than once. My plugin simply uses the Appodeal code, but I didn't change anything on how the cache works.
In any case, I might have some time to work on the implementation of the destroy function in the next couple of weeks, but you're welcome to open a PR also if you want things to move a little quicker 😃
Please add support for smart banners and a method to destroy banner ads. How do I show different banners on different screens?