Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在fragment中使用AgentWeb后,在当前页面打开一个使用原生Webview的Activity,页面出现白屏 #1067

Open
zcybug opened this issue Jul 18, 2024 · 2 comments

Comments

@zcybug
Copy link

zcybug commented Jul 18, 2024

No description provided.

@abiao193
Copy link

override fun onResume() {
    super.onResume()
    agentWeb?.webLifeCycle?.onResume()
}

override fun onPause() {
    super.onPause()
    agentWeb?.webLifeCycle?.onPause()
}

这个两个页面都得有

@Dirtyshushu
Copy link

建议作者把pauseTimer作为可选配置,不要默认在lifeCycle中强制使用,因为一开始的文档大家理解都是默认的webview的pause,但是内部实现把timer也控制了,这样会导致合其他三方SDK中的webview冲突

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

No branches or pull requests

3 participants