Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    245
    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.