xamarin-docs icon indicating copy to clipboard operation
xamarin-docs copied to clipboard

Allow the application to open Google Maps in Android 11

Open cbs-cbt opened this issue 2 years ago • 0 comments

Hello, Since Android 11, when the user clicks on the "Google Maps" button that appears at the bottom of the map when selecting a Pin, the following toast is displayed: "Google maps is not installed or is disabled" In order to allow the application to open Google Maps, the following code must be added to AndroidManifest.xml:

<manifest package="com.your.package">
  <queries>
    <package android:name="com.google.android.apps.maps" />
  </queries>
  ...
</manifest>

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cbs-cbt avatar Mar 18 '22 06:03 cbs-cbt