title: Android app does not launch app permissions
body: <p>I have an android app made in cordova (just cordova not the ionic one). The app has an iframe an inside there are PDF to download, but I'm unable to do it.</p>
  
  <p>I read somewhere that it was needed to modify the config XML and the android manifest to add the Read and Write Storage permissions.</p>
  
  <p>I also tried withj cordova file permission plugin but nothing changed.</p>
  
  <p>With both files modified, I tested the app but the permission are launched in the browser version. In the android one the app does not detect the permission request and when I tried to download a PDF nothing happens.</p>
  
  <p>This is the same if the Storage permission is activated inside the settings of the app.</p>
  
  <p>Here's my Android manifest</p>
  
  <p>`</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;manifest android:hardwareAccelerated="true" android:versionCode="40000" android:versionName="4.0.0" package="com.something" 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;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" 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;/application&gt;
      &lt;uses-sdk android:minSdkVersion="19" android:targetSdkVersion="28" /&gt;
  &lt;/manifest&gt;`
  </code></pre>
  
  <p>And my config.xml</p>
  
  <p>`</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;widget id="com.something" version="4.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
      &lt;name&gt;Somename&lt;/name&gt;
      &lt;description&gt;
          Soemthing
      &lt;/description&gt;
      &lt;author email="dev@cordova.apache.org" href="http://cordova.io"&gt;
          Apache Cordova Team
      &lt;/author&gt;
      &lt;content src="index.html" /&gt;
      &lt;access origin="*" /&gt;
      &lt;allow-intent href="http://*/*" /&gt;
      &lt;allow-intent href="https://*/*" /&gt;
      &lt;allow-intent href="tel:*" /&gt;
      &lt;allow-intent href="sms:*" /&gt;
      &lt;allow-intent href="mailto:*" /&gt;
      &lt;allow-intent href="geo:*" /&gt;
      &lt;platform name="android"&gt;
          &lt;allow-intent href="market:*" /&gt;
          &lt;icon density="ldpi" src="res/icon/android/icon-36-ldpi.png" /&gt;
          &lt;icon density="mdpi" src="res/icon/android/icon-48-mdpi.png" /&gt;
          &lt;icon density="hdpi" src="res/icon/android/icon-72-hdpi.png" /&gt;
          &lt;icon density="xhdpi" src="res/icon/android/icon-96-xhdpi.png" /&gt;
          &lt;preference name="AndroidPersistentFileLocation" value="Compatibility" /&gt;
          &lt;preference name="AndroidExtraFilesystems" value="files,files-external,documents,sdcard,cache,cache-external,assets,root" /&gt;
          &lt;config-file after="uses-permission" parent="/*" target="AndroidManifest.xml"&gt;
              &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
              &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
          &lt;/config-file&gt;
      &lt;/platform&gt;
      &lt;platform name="ios"&gt;
          &lt;allow-intent href="itms:*" /&gt;
          &lt;allow-intent href="itms-apps:*" /&gt;
      &lt;/platform&gt;
      &lt;plugin name="cordova-plugin-whitelist" spec="^1.3.3" /&gt;
      &lt;plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" /&gt;
      &lt;engine name="browser" spec="^5.0.4" /&gt;
  &lt;/widget&gt;`
  </code></pre>