Requesting Microphone Permission on Mac OS

I’ve found some examples for requesting microphone permission on different platforms, but I haven’t seen any documentation for requesting it on macos. If anyone has any experience with this, a code example would be really useful!

I’ve been successful in accessing and using the microphone with in unity while developing on macos, but can’t get it working on the exported macos. I’m currently not requesting permission, it just works while I’m developing in unity

Check out this forum thread:
Unity basically doesn’t ask for permissions as it should on macOS atm.