title: How to resolve this "Cannot enable MyLocation layer as location permissions are not granted"?
body: <p>I have included in my flutter page a simple GoogleMap component only to see if it works but I can't resolve this problem. I compile the application and when I navigate to the page I get the following error in the console: </p>
  
  <blockquote>
    <p>"E/GoogleMapController( 3376): Cannot enable MyLocation layer as location permissions are not granted"</p>
  </blockquote>
  
  <p>I can see the component but I'm not able to see the map (see the image):</p>
  
  <p><img src="https://imgur.com/E9ikU0Q.jpg" alt="googleMap example flutter"></p>
  
  <p>Added configurations:</p>
  
  <pre><code>//(AndroidManifest.xml)
  
  &lt;meta-data android:name="com.google.android.geo.API_KEY" android:value="apikey"/&gt;
  
  //(pubspec.yaml)
  google_maps_flutter: ^0.5.0
  
  </code></pre>
  
  <p><strong>EDIT - SOLUTION</strong></p>
  
  <p>Add the permission package to request permission. You can install this package to manage your permissions: <a href="https://pub.dartlang.org/packages/permission" rel="noreferrer">https://pub.dartlang.org/packages/permission</a></p>