Closed dragermrb closed 1 year ago
@tchvu3 Any chance we could get this fix merged in?
In the mean time, here is what is returned on each platform when the perm is approved/denied:
// TODO: handle both iOS and android
// android granted: { "voice recording": "granted" }
// android not granted: { "voice recording": "denied" }
// ios granted:
// ios not granted:
Choosing "While using app" or "only once" does not change the above; they both return "granted". The ios
ones are not filled out b/c my XCode died on me but I'm 95% sure that they do return { value: true }
and {value: false
, as the docs describe.
Hi!
On android, the
requestAudioRecordingPermission()
method does not return the expected response. Instead, it returns something like this:The reason is that the
recordAudioPermissionCallback()
method is never called becauserequestPermissions(call)
it is used. Using a proper ´requestPermissionForAlias(...)´ fix the issue.