react-native-audio-recorder-player icon indicating copy to clipboard operation
react-native-audio-recorder-player copied to clipboard

Handle if internal storage gets full

Open Balthazar33 opened this issue 3 years ago • 0 comments

Version of react-native-audio-recorder-player

2.6.2

Version of React Native

0.63.4

Platforms you faced the error (IOS or Android or both?)

Android (emulated)

Expected behavior

Provide a warning or close the recorder if internal storage is full (or nearly full)

Actual behavior

App crashes

Steps to reproduce the behavior

Keep the recorder on for a long time (on an emulator with about 400MB internal storage.

P.S.

I understand that this is not really a bug, but I would like to know if there is any way I can stop the recorder or provide a warning when the internal storage is full (or about to be so).

Balthazar33 avatar Dec 20 '21 05:12 Balthazar33