apache / apache/cordova-plugin-inappbrowser

InAppBrowser will not destroy WebView after being closed (by invoking ref.close()) causing memory leaks

Open
#290 34 comments 14 reactions 0 assignees View on GitHub
bug platform: android platform: ios
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

On both Android and iOS, ref.close() does not close the window. I can see the webview is still running. Does not seem to be specific to device or OS. However, I have been testing on iPhone X, with iOS 11.4.1 as well as Samsung S5 running Android 6.0.1.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing ref.close() on the tested Android and iOS devices, then trace how the InAppBrowser WebView is closed on each platform. Done means closing the window destroys or stops the WebView and prevents the reported memory leak on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, java, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.