I am currently making a xamarin application that contains a listview which when clicked opens a generated pdf using google.docs in a webview (Not the cleanest way but works for what I need). The PDF is opened using rg.plugin popup window that contains the webview. When the user is done viewing the pdf they can exit and return to the listview page.
Everything works correctly but once I have opened/closed 4/5 pdfs the webview starts to show just a blank screen. I believe this must be an error in the webview/application holding onto those pdfs rather than releasing that memory.
What I'm asking really is, what can be done to mitigate this issue be it cleaning up after the popup window is closed or something else?
Many thanks