Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions