title: react native access to microphone android
body: <p>I looked around react native api and couldn't find access to the microphone.  I want to access the phones microphone and then analyze the input data similar to what I'm doing with the web audio api below.</p>
  
  <pre><code>navigator.mediaDevices.getUserMedia({audio:true}).then((stream)=&gt;{
        this.audioCtx = new (window.AudioContext || window.webkitAudioContext)();
        this.analyser = this.audioCtx.createAnalyser();
        this.analyser.fftSize = 32;
        let source = this.audioCtx.createMediaStreamSource(stream);
        source.connect(this.analyser);
        this.frequencyData = new Uint8Array(this.analyser.frequencyBinCount);
        this.analyser.getByteTimeDomainData(this.frequencyData);
      }).catch((err)=&gt;{
        console.log(err);
      });
  </code></pre>