Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Is it possible to force showing the permission window (microphone / camera)?

Discussion in 'Unity Everyplay' started by grafd, Oct 30, 2015.

  1. grafd

    grafd

    Joined:
    Oct 30, 2015
    Posts:
    6
    Before recording with audio and face cam, you have to ask the user for permission. If the user denies it, perhaps he would like to allow it at some point in the future. When asking for the recording permission for the very first time there is a permission window popping up. Can we trigger this window later, too? Otherwise the user is forced to go to the iOS settings to change the option.

    Any help is appreciated! Thanks!
     
  2. pmjo

    pmjo

    Unity Technologies

    Joined:
    Sep 17, 2013
    Posts:
    240
    Unfortunately no. RequestRecordingPermission actually tries to ask for permissions again however the default behaviour on iOS is to return the previous answer instead of showing the permission dialog again.
     
  3. grafd

    grafd

    Joined:
    Oct 30, 2015
    Posts:
    6
    That's pity. Thanks for the information.