Using Ionic 4 with Capacitor
uk.co.workingedge.phonegap.plugin.launchnavigator version 5.0.4
Since upgrading to Capacitor, launch navigator no longer recognizes google maps.
I definitely have google maps installed on my iOS device.
When I run the following code:
constructor(private launchNavigator: LaunchNavigator) {}
...
ngOnInit() {
const availableApps = await this.launchNavigator.availableApps();
alert(JSON.stringify(availableApps));
}
it returns a JSON object that shows all the different map apps and their availablilty. apple_maps is true, but google_maps is false.
Any ideas why this isn’t working?
i’m having the same issue, but using ionic 5 without capacitor
gcarpi
3
Hi, did you find any solution?
Anyone that finds this looking for the solution, you need to add this into your Info.plist
<key>LSApplicationQueriesSchemes</key>
<array>
<string>citymapper</string>
<string>comgooglemaps</string>
<string>navigon</string>
<string>transit</string>
<string>waze</string>
<string>yandexnavi</string>
<string>uber</string>
<string>tomtomhome</string>
<string>com.sygic.aura</string>
<string>here-route</string>
<string>moovit</string>
<string>lyft</string>
<string>mapsme</string>
<string>cabify</string>
<string>baidumap</string>
<string>taxis99</string>
<string>iosamap</string>
</array>
1 Like