dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 131 forks source link

The Current device location don't work with Android 11 without QUERY_ALL_PACKAGES #276

Closed keriroso closed 2 years ago

keriroso commented 2 years ago

Target Android SDK version 30 android:targetSdkVersion in AndroidManifest.xml

CORDOVA 10.0.0

i have a problem with this plugin when i want to open the GOOGLE MAPS

the start point is undefined this is the configure in my config.xml

   <config-file parent="./" target="app/src/main/AndroidManifest.xml" xmlns:android="http://schemas.android.com/apk/res/android">
            <queries>
                <package android:name="com.google.android.apps.maps" />
                <intent>
                    <action android:name="android.intent.action.SEND" />
                </intent>
                <intent>
                    <action android:name="android.intent.action.VIEW" />
                </intent>
            </queries>
        </config-file>

this work in device with android 11 but dont have a start point

WhatsApp Image 2022-09-02 at 10 59 37

keriroso commented 2 years ago
   <config-file parent="./" target="app/src/main/AndroidManifest.xml" xmlns:android="http://schemas.android.com/apk/res/android">
            <queries>
                <package android:name="com.google.android.apps.maps" />
                <intent>
                    <action android:name="android.intent.action.SEND" />
                </intent>
                <intent>
                    <action android:name="android.intent.action.VIEW" />
                    <data android:scheme="geo" />
                </intent>
            </queries>
        </config-file>