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. Dismiss Notice

Custom manifest

Discussion in 'Daydream' started by Mephesto_Khaan, Feb 4, 2017.

  1. Mephesto_Khaan

    Mephesto_Khaan

    Joined:
    Jun 2, 2013
    Posts:
    47
    I need to add microphone permission to my Daydream app.
    Initially I added it to the Mainfest-Daydream xml file (and deleted the AndroidManifest.xml) but If I export to a Android Studio build that change does not seem to be coming in.
    I have ended up getting the Android Studio manifest, adding the lines and using it as AndroidManifest.xml in Unity (Deleting the -Daydream specific one) but surely there is a better way I am missing
     
  2. fmielke

    fmielke

    Joined:
    Oct 17, 2016
    Posts:
    35
    I use the micro permission, too. In my case Unity made that without any problem.

    In my file structure Assets/Plugins/Android there are atm three files: AndroidManifest.xml, AndroidManifest-Cardboard.xml and AndroidManifest-Daydream.xml. I added the permission in AndroidManifest.xml and AndroidManifest-Daydream (only thing I changed) and it works.