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

使用ScanKitActivity有问题 #107

Open
ZhungJeffrey opened this issue Jul 30, 2024 · 0 comments
Open

使用ScanKitActivity有问题 #107

ZhungJeffrey opened this issue Jul 30, 2024 · 0 comments

Comments

@ZhungJeffrey
Copy link

intent 不加flags 或者 intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP),可以正常扫码,快速进行打开页面 -->关闭 --> 再打开页面,扫码页面就会死掉或黑屏,无法扫码。
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK),这种情况不会黑屏,但是无法扫码,扫码就报错挂掉

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

1 participant