Hello everyone. I hope somebody can help me with my problem. I have inside my app audio recorder which was created with cordova-media-plugin. Also app can record in background mode (when user is not in app). Everything works great besides only one case:

Creating file. For example lol.m4a

run file.startRecord();

go home screen

kill app with help task manager

So about my problem:
When i opening the app next time i see that recorded file is available and it’s not empty and i even can play it in VLC player but media plugin can’t play it and throwing error