apache / apache/cordova-plugin-inappbrowser

InAppBrowser clearcache & clearsessioncache not working

Open
#806 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

If we have 3 instance of InAppBrowser window and all 3 instance using different different URLs, if we set **clearcache=yes** or **clearsessioncache=yes** for any 1 instance, then it clear caches of all the instance. Even we set **clearcache=no**.

Note: For Every instance, in exit callback I am closing the reference,
ref.addEventListener('exit', function (event) {
ref.close();
});

cordova-plugin-inappbrowser version@4.0.0
Cordova version- 10.0.0
iOS version@6.1.0
Android version@9.0.0

Any help and suggestion are appreciate.

Thanks a lot in advance.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with three InAppBrowser instances using different URLs on the listed Android and iOS versions, varying clearcache and clearsessioncache. No source files or tests are named; done means confirming that clearing cache for one instance does not affect the others while preserving the documented exit and close behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, java, javascript
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.