playMaker

Author Topic: Android: Request Microphone Permission  (Read 4546 times)

nuxvomo

  • Playmaker Newbie
  • *
  • Posts: 30
  • Indy based indie producer of Nights of Yore
    • Nights of Yore
Android: Request Microphone Permission
« 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!
« Last Edit: December 22, 2020, 11:44:20 PM by nuxvomo »
Producer of Nights of Yore, a streamlined tabletop role-playing game for Android and PC
http://nightsofyore.com/

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Android: Request Microphone Permission
« Reply #1 on: January 20, 2021, 08:04:31 AM »
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
« Last Edit: January 20, 2021, 08:06:46 AM by jeanfabre »

nuxvomo

  • Playmaker Newbie
  • *
  • Posts: 30
  • Indy based indie producer of Nights of Yore
    • Nights of Yore
Re: Android: Request Microphone Permission
« Reply #2 on: February 08, 2021, 09:14:22 PM »
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
Producer of Nights of Yore, a streamlined tabletop role-playing game for Android and PC
http://nightsofyore.com/

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Android: Request Microphone Permission
« Reply #3 on: February 12, 2021, 07:06:09 AM »
Hi.
Can you try this (Attachment Below)

nuxvomo

  • Playmaker Newbie
  • *
  • Posts: 30
  • Indy based indie producer of Nights of Yore
    • Nights of Yore
Re: Android: Request Microphone Permission
« Reply #4 on: March 08, 2021, 08:33:09 PM »
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!
« Last Edit: March 08, 2021, 08:45:13 PM by nuxvomo »
Producer of Nights of Yore, a streamlined tabletop role-playing game for Android and PC
http://nightsofyore.com/

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Android: Request Microphone Permission
« Reply #5 on: March 09, 2021, 12:52:53 AM »
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

nuxvomo

  • Playmaker Newbie
  • *
  • Posts: 30
  • Indy based indie producer of Nights of Yore
    • Nights of Yore
Re: Android: Request Microphone Permission
« Reply #6 on: March 09, 2021, 01:12:25 AM »
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.
Producer of Nights of Yore, a streamlined tabletop role-playing game for Android and PC
http://nightsofyore.com/

nuxvomo

  • Playmaker Newbie
  • *
  • Posts: 30
  • Indy based indie producer of Nights of Yore
    • Nights of Yore
Re: Android: Request Microphone Permission
« Reply #7 on: March 10, 2021, 08:11:52 PM »
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
Producer of Nights of Yore, a streamlined tabletop role-playing game for Android and PC
http://nightsofyore.com/

nuxvomo

  • Playmaker Newbie
  • *
  • Posts: 30
  • Indy based indie producer of Nights of Yore
    • Nights of Yore
Re: Android: Request Microphone Permission
« Reply #8 on: April 12, 2021, 10:37:47 PM »
Hey, sorry to bump again but I still need help on this. Thank you!
Producer of Nights of Yore, a streamlined tabletop role-playing game for Android and PC
http://nightsofyore.com/

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Android: Request Microphone Permission
« Reply #9 on: April 30, 2021, 01:55:05 AM »
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