How do I prevent my game from accessing the microphone?

For some reason, my Unity game is asking to use the microphone on startup.

Where in Xcode (or Unity) can I disable this microphone access request?

+3


source to share


1 answer


First of all, make sure you don't use anything like Application.RequestUserAuthorization(UserAuthorization.Microphone)

.



Second, according to this guy on the Unity forums , the only way to permanently disable the microphone permission request is to uncheck the box Prepare iOS for Recording

in Xcode and rename the game. I believe the renaming part only applies if you ship to Apple, in which case you will need to do a factory reset on your device (or just rename), but I can't be completely sure.

0


source







All Articles