Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to check if access to microphone has been granted
Started by Divergent Monkey May 05 2019 12:25 PM

- - - - -
1 reply to this topic
microphone access
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Divergent Monkey

[GLOBAL: userInfoPane.html]
Divergent Monkey
  • Contributor

  • 307 posts
  • Corona SDK

Is there a way to check whether the user has allowed my app to use the microphone or not?

 

On Android, I handle the microphone request manually from my code (using native.showPopup("requestAppPermission", options)), which means that I can also check the result. On iOS, this is handled in build.settings and I do not know how to check what the user chose.



[TOPIC: post.html]
#2

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 710 posts
  • Corona Staff

Unfortunately we don't have ability to check if permissions was granted. If the call (event) fails, it means that permission was denied.

On iOS permissions are requested first time application access mic/camera apis.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: microphone, access