Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Camera status is READY, but takePictureAsync throwing "Camera is not running" #2734

@SirCameron

Description

@SirCameron

Bug Report

To Do First

  • Did you try latest release?
  • Did you try master?
  • Did you look for existing matching issues?

Platforms
Android

Versions

  • Android: Pie on emulator on mac os
  • iOS: works fine here.
  • react-native-camera: 3.19.0
  • react-native: 0.61.5
  • react: 16.9.0

Description/Current Behaviour
onStatusChange is responding that the camera is READY, but when attempting to take a picture with takePictureAsync, the error thrown is that the "camera is not running".

Expected Behaviour
For the 2 statuses to be in sync and the camera to take a picture.

Steps to Reproduce

Honestly, this is a big project so I can't run through that. It works perfectly on IOS.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions