apache / apache/cordova-plugin-inappbrowser

load start in ios

Open
#919 2 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

Hi @infil00p @reidab @jukka @shazron @mwoghiren

i'm trying to set the local storage in load start event but i'm getting the below error.

evaluateJavaScript error : A JavaScript exception occurred :
_cdvMessageHandler('InAppBrowser53244618',JSON.stringify([eval("localStorage.setItem('name', '12');")]));

it is working fine in android. i'm facing problem in iOS.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the load start event on iOS with the reported localStorage.setItem call and compare it with Android behavior. Trace the InAppBrowser JavaScript evaluation path and determine what change makes the call complete without the reported exception; done means local storage can be set successfully during load start on iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.