I am using xamarin.forms, I can start the facebook application using the class Deviceas follows:
Device.OpenUri(new Uri("fb://profile/page_id"));
What to do if the application is not installed on the device. How to check if the application is installed on the device.
I wrote the above line of code in a block try, but when the application is not installed, the code works without output and exception. I want to redirect to itunes to install as follows:
CrossShare.Current.OpenBrowser("https://itunes.apple.com/us/app/facebook/id284882215/");
I am using Plugin.share in xamarin.forms.
source
share