title: Ionic diagnostic plugin error when building in Phonegap build
body: <p>I am trying to ask the user permission before accessing their camera. I use the ionic diagnostic plugin for this. The app builds fine on Phonegap build before adding the diagnostic plugin. After adding plugin I get the following error through Phonegap build:</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li>What went wrong:
  Execution failed for task ':processDebugManifest'.
  
  <blockquote>
    <p>Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
    is also present at [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 value=(25.3.1).
    Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override</p>
  </blockquote></li>
  </ul>
  
  <p>I installed the plugin using the following:</p>
  
  <pre><code>$ ionic cordova plugin add cordova.plugins.diagnostic
  $ npm install --save @ionic-native/diagnostic
  </code></pre>
  
  <p>And in my config.xml I have the following:</p>
  
  <pre><code>&lt;preference name="android-minSdkVersion" value="16" /&gt;
  &lt;preference name="android-targetSdkVersion" value="23" /&gt;
  
  &lt;plugin name="cordova.plugins.diagnostic" spec="^3.6.5"/&gt;
  </code></pre>
  
  <p>Does anyone have an idea as to what I'm doing wrong here?</p>