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

activity 重建的问题 #370

Open
mdoufei opened this issue Jan 14, 2020 · 1 comment
Open

activity 重建的问题 #370

mdoufei opened this issue Jan 14, 2020 · 1 comment

Comments

@mdoufei
Copy link

mdoufei commented Jan 14, 2020

插件中的 activity 加载成功后,会替换host 清单里的的 stub ,例如 com.didi.virtualapk.core.A$1
按下 home 键后,过段时间可能会触发 activty 重建,必然 crash ,请问这个有办法处理吗?

@lihwbest
Copy link

lihwbest commented Mar 7, 2020

你的宿主应该是debug包吧,如果是release的话,应该就不会崩溃,而是跳转到首页了。

你看下VAInstrumentation的newActivity逻辑,里边有具体的逻辑处理。

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

2 participants