Skip to content

It is possible to store data on the Android Webview Window Object at start with Capacitor/Ionic? #7384

Answered by jcesarmobile
distante asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like some threading issue, it works if you use this.bridge.eval("window.saninn = 'hello saninn';", null);, which runs evaluateJavascript under the hood, but on main thread.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@distante
Comment options

@jcesarmobile
Comment options

Answer selected by distante
@distante
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants