Skip to content

使用ScanKitActivity有问题 #107

Open
@ZhungJeffrey

Description

@ZhungJeffrey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions