keymanapp / keymanapp/keyman

change(android/engine): Adapt WebViewUtil to use a timeout or event on readystatechange

Open
#4,556 0 comments 0 reactions 0 assignees View on GitHub
android/ android/engine/ change
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

Hmm. So there's no easy way to detect this scenario and retry later?

Maybe we could adapt this into a function that sets a timeout or an event against `document.readyState` (see https://developer.mozilla.org/en-US/docs/Web/API/Document/readystatechange_event) to call this when it _is_ possible to handle?

_Originally posted by @jahorton in https://github.com/keymanapp/keyman/pull/4531#discussion_r584485255_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.