eclipsesource / eclipsesource/tabris-js
Camera sometimes stops working
Open
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
Assessment
This issue has not been assessed yet.