Closed ewpatton closed 4 years ago
@ewpatton I would like to work on this issue.
@singhalsara8 Sure. Take a look at the TakePicture
method of Camera to see an example of how you can request multiple permissions. You'll want to adapt the code in SounderRecorder's Start
method to be similar.
Describe the bug
SoundRecorder stores recordings to the external storage by default (or if the user gives it an external path). Further, it asserts this in
@UsesPermissions
. However, when we start recording we only ever ask forRECORD_AUDIO
and notWRITE_EXTERNAL_STORAGE
. We likely missed this in testing the SDK 26 update by only testing it in the companion (which does request write access up front) and not in a compiled app.Affects
Expected behavior
In a compiled app, SoundRecorder should request write permission in addition to audio recording.
Steps to reproduce