Skip to content

MOBILEWEBVIEW-57: Add link router for webview#685

Merged
enotniy merged 3 commits intomission/webview-inappfrom
feature/MOBILEWEBVIEW-57
Mar 2, 2026
Merged

MOBILEWEBVIEW-57: Add link router for webview#685
enotniy merged 3 commits intomission/webview-inappfrom
feature/MOBILEWEBVIEW-57

Conversation

@enotniy
Copy link
Collaborator

@enotniy enotniy commented Mar 2, 2026

@enotniy enotniy requested review from justSmK and sergeysozinov March 2, 2026 09:08
runCatching {
gatewayManager.fetchWebViewContent(contentUrl)
}.onSuccess { response: String ->
currentWebViewOrigin = resolveOrigin(layer.baseUrl)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь не будет гонки? Присваиваем currentWebViewOrigin здесь и в onPageFinished

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нет они друг за другом идут. Сначала мы выставляем тот, что грузим, а потом тот что загрузился. Потому что они могут отличаться, если был редирект

@enotniy enotniy merged commit e3c3bd4 into mission/webview-inapp Mar 2, 2026
4 checks passed
@enotniy enotniy deleted the feature/MOBILEWEBVIEW-57 branch March 2, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants