feat: support shouldStartLoadTimeout parameter (iOS)#48
Closed
kbulgakov-exo wants to merge 2 commits intomasterfrom
Closed
feat: support shouldStartLoadTimeout parameter (iOS)#48kbulgakov-exo wants to merge 2 commits intomasterfrom
shouldStartLoadTimeout parameter (iOS)#48kbulgakov-exo wants to merge 2 commits intomasterfrom
Conversation
kbulgakov-exo
commented
Jan 13, 2026
Author
kbulgakov-exo
left a comment
There was a problem hiding this comment.
tACK
- The "using timeout" log should print 500ms when no parameter is passed (the default value)
- The "using timeout" log should print the number you pass
- You should see the "Did not receive response to shouldStartLoad in time" log when the parameter is too low
timlanahan
approved these changes
Jan 13, 2026
guten-exodus
approved these changes
Jan 14, 2026
guten-exodus
left a comment
There was a problem hiding this comment.
utACK
The use case is for wallet connect? Didn't you already solve it by using the html source?
Author
Yes
It looks like it was too early to celebrate. This week I've been making the component more useful (bundle injection, handling messages from the WebView etc) and I hit the loading issue again. This time I put some logs, and realized that the webview native code is actually still checking the origin even with HTML as a source. |
2 tasks
Author
|
Let's consider #49 instead |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continues #47 and allows consumers to configure the timeout value. Even
500mssometimes is not enough, the first load for a relatively heavy-component with multiple renders might be up to 800ms in Dev based on my testingMy use-case is a hidden WebView, I'd like to be able to choose an arbitrary huge value because freezing the UI won't be an issue
Testing
Can be tested with this patch: