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

[bug]android10 uni.reLaunch在键盘弹出时会导致应用闪退 #1895

Closed
wakaryry opened this issue Jul 11, 2020 · 2 comments
Closed

[bug]android10 uni.reLaunch在键盘弹出时会导致应用闪退 #1895

wakaryry opened this issue Jul 11, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@wakaryry
Copy link

wakaryry commented Jul 11, 2020

  • nvue页面;
  • 在Android10:uni.reLaunch导致app奔溃掉;
  • 不报错;
  • iOS正常,mp正常,H5正常;
  • 手机华为p40;

测试结果

  • 键盘弹出时,relaunch会导致app闪退;
  • 键盘弹出时,调用uni.hideKeyboard,然后直接relaunch也会闪退;
  • 键盘弹出时,必须给relaunch加一个延时才能正常relaunch,延时过短也可能奔溃;

测试代码

relaunchTest.zip

@wakaryry wakaryry changed the title 不报错android10 uni.reLaunch导致应用退出 [bug]android10 uni.reLaunch在键盘弹出时会导致应用闪退 Jul 11, 2020
@dcloudhdx
Copy link
Contributor

Bug已确认

@dcloudhdx dcloudhdx added the bug Something isn't working label Jul 13, 2020
@dcloudhdx
Copy link
Contributor

HBuilderX 2.8.1+ alpha 版已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants