How can I launch google photos app from within Xamarin.Forms?

Viewed 98

When using

Launcher.OpenAsync("http://maps.google.com") 

the google maps application opens beautifully but with

Launcher.OpenAsync("http://photos.google.com") 

it opens the application in browser.

1 Answers

According to the official docs,

the OpenAsync(String) Launches the app specified by the uri scheme

So if you set the url like below it'll start the google photos application.I tested it on my side and it does open the application.

 await Launcher.OpenAsync("http://photos.google.com");

Update:

If you want to launch the app respectively, please try use the following format of links:

for instagram
instagram://user?username=yourUserName

for twitter
twitter://userName?user_id=userId

for facebook
fb://page/page_id

Related