Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: nuxvomo on December 16, 2020, 01:58:36 AM
-
Hello,
I checked the forums but couldn't find any clear answers on this.
Are there any PlayMaker actions for requesting access to Microphone on Android?
I added Dissonance Voice but can't find any actions to get this done.
If not could somebody help with making one?
Thanks for any guidance!
-
Hi,
there is one action to request mic and webcam access.
RequestWebCamAndMicAccess
it's on the Ecosystem.
Let me know if you need just the mic, I can modify it to allow just for that.
Bye,
Jean
-
Hi Jean,
Sorry, don't know how I missed this!
Yes, I just need the Mic, could you please make that action?
Thank you so much!
Jim
-
Hi.
Can you try this (Attachment Below)
-
Hey there,
Sorry for the delay in my response.
I was finally able to add this in and it doesn't prompt me to grant mic access.
I set it as a start event but it doesn't prompt anything on my phone.
Using a current update Pixel 4a.
I'm assuming that this should prompt an Android notification or something to grant Mic Permission.
Is there something I'm not doing?
Thanks again!
-
Hi,
uhm, that's odd. is it working with the action I sent, or none are working?
maybe the app has already been granted access?
Bye,
Jean
-
Hi,
I only tried djaydino's action but can try the one that does cam as well, if that's what you mean. I won't have time to try until Wednesday evening but will report back.
I completely uninstalled and did a fresh install so no previous permissions were granted. I even verified before launching.
Thanks for the quick response.
-
Hi Jean,
I swapped out djaydino's action for yours (RequestWebCamAndMicAccess) and no change.
Still not prompting for access.
Again, I uninstalled the app, downloaded the new build, installed, and verified it had no previous permissions before launching.
Could you maybe walk me through integrating it?
Maybe I'm missing something.
See pics 1-4 to see my flow. The not shown "On Click - PTT" state is just when the PTT UI button is pressed it does a quick check to see if access is granted to then request access again if needed.
Thanks again,
Jim
-
Hey, sorry to bump again but I still need help on this. Thank you!
-
Hi,
Try first with a new empty project and make sure you have an app bundle identifier that is new.
Let me know how it goes. when something is not working like that, it's best to isolate in a dedicated project, to test just this feature, then if it works there, the problems lies within the integration and not the feature itself.
if it doesn't work on a test project, share that project with me, I'll give it a go myself locally.
Bye,
Jean