-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recorded file neither saving nor playing #301
Comments
Facing same issue for android 10+ SDK 30. |
Same on iOS 14 with Ionic Capacitor: Log just says: Couldn't catch any other log from exceptions nor catching error promises, so I don't know how to proceed. |
Hi guys not sure if this might help the android guys but worked for me Go into the android project Like so inside the application tag:
|
Same situation here. Can't find any more information. |
same.. |
This solution with the "requestLegacyExternalStorage" is soon going to be an issue. https://developer.android.com/about/versions/11/privacy/storage If I understand correctly, our apps won't be able to write to the external directory so easily anymore... |
Same issue here in Android API 30. Any workaround to fix it?
Thanks! |
Did you find any solution ?? |
In my case my app required this feature, so I ended up developing my app with Flutter. You can make yourself an idea on how many time I spent trying to solve this particular problem. |
I also don't have any solution unfortunately... I cannot update my Android app right now. |
for android instead of this.file.externalRootDirectory try this.file.externalDataDirectory. it works for me. in addition to it, before audio recording I am checking audio and storage access permission explicitly. this.diagnostic.requestMicrophoneAuthorization() and see if that works for you too. |
Nothing works for me.. |
@zubinraja Thanks for you solution but not working for me. Still figure out . |
I'm using this plugin with ionic capacitor instead of cordova with command
ionic cap sync
.My code:
When I clicked record, output was:
Error: 1
and when I stopped recording than the output wasstatus: 4
andAction is successful
I expected to either play the recording or get
audiofile.mp3
in file manager of my android device but I didn't got any of it.The text was updated successfully, but these errors were encountered: