title: Flutter - permission problem causing crash
body: <p>I'm using contacts_service package in my flutter app (<a href="https://pub.dev/packages/contacts_service" rel="nofollow noreferrer">https://pub.dev/packages/contacts_service</a>).
  I want to run this app  on Android and IOS as well so I added this to my Info.plist file.</p>
  <pre><code>&lt;key&gt;NSContactsUsageDescription&lt;/key&gt;  
  &lt;string&gt;This app requires contacts access to function properly.&lt;/string&gt;  
  </code></pre>
  <p>I'm developing this app on my android device so I've also added permissions to  AndroidManifest.xml.I've done it above &lt;aplication &lt;/&gt; section.</p>
  <pre><code>&lt;uses-permission android:name=&quot;android.permission.READ_CONTACTS&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.WRITE_CONTACTS&quot; /&gt;
  </code></pre>
  <p>But aplication crashes during execution this line of code.</p>
  <pre><code>contacts = await ContactsService.getContacts();
  </code></pre>
  <p>The error says :</p>
  <blockquote>
  <p>caused by: java.lang.SecurityException: Permission Denial: opening
  provider com.android.providers.contacts.ContactsProvider2 from
  ProcessRecord{f7cf96e 11239:com.example.smsresponder/u0a189}
  (pid=11239, uid=10189) requires android.permission.READ_CONTACTS or
  android.permission.WRITE_CONTACTS</p>
  </blockquote>
  <p>In addition I've noticed that Android doesn't ask me for permission for this app when I'm installing it. So I'm assuming that I did something wrong with granting permissions but I have no idea what. Please help</p>