eclipsesource / eclipsesource/tabris-js

Camera sometimes stops working

Open
#2,095 2 comments 0 reactions 0 assignees View on GitHub
bug ios
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description

When locking the device or bringing the app in the background and then back in the foreground, the camera view might freeze (only happens sometimes). Attempting to capture a picture in this state fails with:

```
Error: Cannot Record
```

Might be related to restarting the app using the reload button.

### Expected behavior

The CameraView should always resume operation when the app becomes active.

### Environment

- Tabris.js version: 3.5.0
- Device: iPad A2197
- OS: iOS 13.6

### Code snippet

Use the camera snippet: https://github.com/eclipsesource/tabris-js/blob/master/snippets/camera.tsx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.