Hi,
How can I get list of installed Maps apps using Xamarin Forms?
Thanks,
Jassim
Hi,
How can I get list of installed Maps apps using Xamarin Forms?
Thanks,
Jassim
Hi, JassimAlRahma. We cannot get a list of map apps directly. It's supported to use uri scheme to launch the maps application on Android, which may prompt the user to select from an existing app.
However, iOS won't. It always uses the default map application. And we can't detect what kinds of applications have been installed on the device, so we can't list all the supported applications. You could use Essentials.Launcher.CanOpenAsync command to check whether the certain map application has installed or not.
then how some apps will prompt you to select which maps app to select for navigation and it will list the installed apps on your mobile?
In Xamarin.Forms, you could just use Essential.Map api to prompt the user to select from an existing app in Android.
https://docs.microsoft.com/en-us/xamarin/essentials/maps?context=xamarin%2Fandroid&tabs=android
7 people are following this question.