zubinraja commented on issue #301:
URL: 
https://github.com/apache/cordova-plugin-media/issues/301#issuecomment-928988758


   for android instead of this.file.externalRootDirectory try 
this.file.externalDataDirectory. it works for me.
   For android and iOS this directory works for me
   this.global.G_ExternalDirectory = this.platform.is('ios') ? 
this.file.dataDirectory : this.file.externalDataDirectory;
   
   in addition to it, before audio recording I am checking audio and storage 
access permission explicitly. 
   
   this.diagnostic.requestMicrophoneAuthorization() and
   this.diagnostic.requestExternalStorageAuthorization()
   
   see if that works for you too.
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to