Skip to content

Possible to handle a granted camera permission without restarting the activity? #54

@Dima-369

Description

@Dima-369

Currently, the sample app calls restartActivity() in onPermissionGranted() on granting the camera permission.

Is it instead possible to handle this without re-inflating the SurfaceView or restarting the activity?

Using the QREader.Builder plus initAndStart() in onPermissionGranted() does not work on and still displays a black screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions