fix: Catch insufficient-storage errors (#2422)

* fix: Catch `insufficient-storage` errors

* feat: Implement `insufficient-storage` error for Android

* fix: Catch insufficient storage error also on takePhoto android
This commit is contained in:
Marc Rousavy
2024-01-24 11:48:38 +01:00
committed by GitHub
parent 7894779094
commit b1fa06514f
10 changed files with 59 additions and 14 deletions

View File

@@ -36,6 +36,7 @@ export type CaptureError =
| 'capture/file-io-error'
| 'capture/create-temp-file-error'
| 'capture/create-recorder-error'
| 'capture/insufficient-storage'
| 'capture/recorder-error'
| 'capture/video-not-enabled'
| 'capture/photo-not-enabled'