title: Speech Recognition: “Network error” on startListening() Android 6/7
body: <p>When I run the code below, as soon as the beep sounds to start recording the mic, I get "Network error":</p>
  
  <p>I have no idea what's wrong here. I've:</p>
  
  <ul>
  <li>added the: cordova plugin + npm module correctly, </li>
  <li>granted permissions in the app for microphone </li>
  <li>tried connected to WIfi </li>
  <li>tried connected to 4g </li>
  <li>tried removing and re-adding the android platform to the project</li>
  <li>tried on 2 different phones (samsung s5 android 6 / sony xperia z5c
  android 7)</li>
  </ul>
  
  <p>Here's my basic code, nothing special here:</p>
  
  <pre><code>  setupSpeechRecognition() {
      this.speechRecognition.requestPermission().then(() =&gt; {
          this.speechRecognition.startListening().subscribe(
              (matches) =&gt; {
                // matches here...
              },
              (onerror) =&gt; {
                alert("Error: " + JSON.stringify(onerror));
              }
          );          
        },
        () =&gt; {}
      );      
    }
  </code></pre>
  
  <p>And here's my AndroidManifest.xml for kicks:</p>
  
  <pre><code>&lt;manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" package="io.ionic.starter" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true"&gt;
          &lt;activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize"&gt;
              &lt;intent-filter android:label="@string/launcher_name"&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;receiver android:name="cordova.plugins.Diagnostic$LocationProviderChangedReceiver"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.location.PROVIDERS_CHANGED" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
          &lt;receiver android:name="cordova.plugins.Diagnostic$NFCStateChangedReceiver"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.nfc.action.ADAPTER_STATE_CHANGED" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
      &lt;/application&gt;
      &lt;uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25" /&gt;
      &lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Any ideas? Thanks!</p>