apache / apache/cordova-plugin-inappbrowser

Unable to access shared localStorage when a local page is loaded (iOS 13.6.0 and 4.0.0)

Open
#766 3 comments 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

# Bug Report

## Problem
Using cordova-plugin-inappbrowser@4.0.0 localStorage values are unaccessible.
In @3.2.0 this works fine.

How to reproduce:

Allow with your index.html create another html file such as test.html.
at index.html you must set a localStorage value.
In test.html you must attempt to read that value.

Expected: Value is defined
Current: Value is undefined

iOS Version: 13.6.0
Plugin Version: 4.0.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue using index.html and test.html on iOS 13.6 with plugin versions 3.2.0 and 4.0.0, confirming whether the localStorage value is shared between the pages. Then inspect the plugin's iOS implementation for the version change affecting local page storage. Done means the value set in index.html is readable from test.html on version 4.0.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.