ath0mas commented on issue #227:
URL: 
https://github.com/apache/cordova-plugin-media-capture/issues/227#issuecomment-962286610


   Strange but I got this app crash too for device Android 11/12 but also 
Android 9 (app built with API 29 and API 30)
   capturing audio, and same `java.lang.string java.io.file.getabsolutepath()' 
on a null object reference`,
   
   failing:
   - with Pixel 4a default audio recorder (Android 11 and 12)
   - with [sonymobile audio 
recorder](https://apkpure.com/fr/audio-recorder/com.sonymobile.androidapp.audiorecorder)
 in any device
   
   recorded content seems to be "inside" dirs of these recorder apps and 
media-capture can not access it
   
   fine:
   - Samsung device with default Samsung audio recorder
   
   recorded content is located in "public" audio dir and media-capture can 
access it
   
   ---
   I am going to create a PR to prevent this NPE caused app crash - while #215 
to use FileProvider is a more future proof rework for sure


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