hms-scan-demo icon indicating copy to clipboard operation
hms-scan-demo copied to clipboard

使用ScanKitActivity有问题

Open ZhungJeffrey opened this issue 6 months ago • 0 comments

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

ZhungJeffrey avatar Jul 30 '24 05:07 ZhungJeffrey