You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/03 12:46:57 UTC

[GitHub] [cordova-plugin-media] dlazzy commented on issue #304: startRecord() Error CheckPermission: media_record-code= 24: Android 11

dlazzy commented on issue #304:
URL: https://github.com/apache/cordova-plugin-media/issues/304#issuecomment-831236248


   Same issue here, getting an error code: 1 for Android >= 10.
   
   Trying to add `android:requestLegacyExternalStorage on config.xml` did not help because I'm using an old `cordova-android` version (because my app use lots of plugins and they didn't get updated). So like @bhandaribhuminpfizer my app is stuck with this error. This will create serious problem when PlayStore will required API target 30.
   
   I tried to use media-capture, but this open another app to record audio. Also tried to use memory instead of a temporary file, without success.
   
   ```
   cli packages:
   
       @ionic/cli-utils  : 1.19.2
       ionic (Ionic CLI) : 3.20.0
   
   global packages:
   
       cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) 
   
   local packages:
   
       @ionic/app-scripts : 3.2.4
       Cordova Platforms  : android 6.3.0
       Ionic Framework    : ionic-angular 3.9.9
   
   System:
   
       Android SDK Tools : 26.1.1
       Node              : v7.8.0
       npm               : 4.2.0 
       OS                : Linux 5.8
   
   Misc:
   
       backend : pro
   
   cordova-plugin-file: 6.0.2
   cordova-plugin-media: 5.0.3
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org