Skip to content
This repository was archived by the owner on Dec 11, 2018. It is now read-only.
This repository was archived by the owner on Dec 11, 2018. It is now read-only.

Camera not working when re-mounted #10

@ishita-kothari

Description

@ishita-kothari

Hello,

I am unable to run camera when the screen is once removed from the stack in navigation and then re mounted. I am using rnrf for navigation. The code is shown below:

_onBarCodeRead(result) {
var $this = this;
if (this.state.barCodeFlag) {
this.setState({barCodeFlag: false})
Actions.pop();
Actions.result({id: result.data})
}
}

This is the way I am changing my routes. When I come back to QR code page, I am unable to run camera. It shows me white screen with green box.

Please help me solve this issue.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions