title: Flutter via "build method" permission granted but still multi image picker not opening... whereas it works in "debug and run --release method"... why?
body: <p><code>enter code here</code>Androidmanifest.xml all permissions added. This permissions works fine when I run app in debug or release mode but when I use "build appbundle or build apk" the generated app does not open image picker(permissions not working as intended)</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.viaviaapp.flutter"&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  </code></pre>
  
  <p>I have also tried adding runtime permission via "permission_handler". App page where permission is actually required and used. Even if we do not add runtime permission the "the multi_image_picker" plugin already handles permissions but even though nothing works when I use "build apk" and use it.</p>
  
  <pre><code>@override
    void initState() {
      super.initState();
      checkPermissions();
    }
  
  checkPermissions() async {
      if (await Permission.storage.request().isUndetermined) {
        Permission.storage.request();
        Permission.camera.request();
      } else if (await Permission.storage.request().isDenied) {
        showDialog(
            context: (context),
            builder: (context) =&gt; AlertDialog(
                  shape: ContinuousRectangleBorder(
                      borderRadius: BorderRadius.circular(20)),
                  content: Text(
                    'viaviaapp requires permissions to storage and camera so that you can post images',
                    style: TextStyle(height: 1.3),
                  ),
                  actions: &lt;Widget&gt;[
                    FlatButton(
                      onPressed: () async {
                        if (await Permission.storage.request().isGranted) {
                          Navigator.pop(context);
                        } else {
                          Permission.storage.request();
                          Permission.camera.request();
                        }
                      },
                      child: Text("Grant Now"),
                    )
                  ],
                ));
      } else if (await Permission.storage.request().isPermanentlyDenied) {
        showDialog(
            context: (context),
            builder: (context) =&gt; AlertDialog(
                  shape: ContinuousRectangleBorder(
                      borderRadius: BorderRadius.circular(20)),
                  content: Text(
                    'You have to grant required permission from the application settings.',
                    style: TextStyle(height: 1.3),
                  ),
                  actions: &lt;Widget&gt;[
                    FlatButton(
                      onPressed: () async {
                        if (await Permission.storage.request().isGranted) {
                          Navigator.pop(context);
                        } else {
                            openAppSettings();
                        }
                      },
                      child: Text("Open Settings"),
                    )
                  ],
                ));
      }
    }
  </code></pre>