Delpin Susai Raj Monday, 7 December 2020

Xamarin.Forms - Open App Store or Play Store in XamarinApp

 In this blog post, you will learn how to Open Play Store or App Store in XamarinApp.

Introduction

Xamarin.Forms code runs on multiple platforms - each of which has its own filesystem. This means that reading and writing files is most easily done using the native file APIs on each platform. Alternatively, embedded resources are a simpler solution to distribute data files with an app.

Prerequisites

  • Visual Studio 2017 or later (Windows or Mac)

Setting up a Xamarin.Forms Project

Start by creating a new Xamarin.Forms project. You wíll learn more by going through the steps yourself.

Create a new or existing Xamarin forms(.Net standard) Project. With Android and iOS Platform. 

Note: Your app must be live in App store and Playstore 

Android

Here, you need the Android app id Ex:com.twitter.android.

I'm using twitter for this sample.

https://play.google.com/store/apps/details?id=com.twitter.android

Code

iOS

Here, you need AppName and AppId with location you will get appname and aped from apple developer connect.

https://apps.apple.com/in/app/twitter/id333903271

Code

Simple UI

MainPage.xaml

Full Source Code

MainPage.xaml.cs

Alternate way

You can use Lancher.OpenAsync also for opening App Store and Play store.

Using Dependency Service

Interface

iOS Implementation

Below sample code for open App store in App iOS.

Android Implementation

Below sample code for open play store in App android. 

Debug your App

I hope you have understood you will learn how to Open Play Store or App Store in XamarinApp.

Thanks for reading. Please share your comments and feedback. Happy Coding :)

31 comments:

  1. Already implemented in plugin:
    https://github.com/jamesmontemagno/StoreReviewPlugin

    ReplyDelete
  2. You can also check my plugin:
    https://github.com/FabriBertani/Plugin.XamarinAppRating

    ReplyDelete
  3. Thanks for sharing this informative content, Great work.
    To crack Scrum master interview: Scrum master interview questions

    ReplyDelete
  4. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. 성인용품점

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. An fascinating discussion is value comment. I think that it is best to write extra on this matter, it won’t be a taboo topic however generally people are not enough to talk on such topics. To the next. Cheers Fait au Quebec

    ReplyDelete
  8. I read that Post and got it fine and informative. flexispy review

    ReplyDelete
  9. An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers. buy csgo account

    ReplyDelete
  10. You have done a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you. buy csgo prime accounts

    ReplyDelete
  11. This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. what are cbd gummies for kids

    ReplyDelete
  12. I read this article. I think You put a lot of effort to create this article. I appreciate your work.
    visit this

    ReplyDelete
  13. I found your this post while searching for some related information on blog search...This is a wonderful post,.. keep posting and update the information. AT&T Software is one of the leading web and mobile app development company

    Hire Click funnel Developer

    ReplyDelete
  14. very useful and knowledgeable. Really its Great Article. Keep it up. User-friendly iphone App development service at an affordable price.

    Hire iphone App Developer

    ReplyDelete
  15. The blog has been written in a manner that there isn't anything that has been left revealed, and furthermore, I have perused different web journals that are posted here and they are altogether worth a read.
    Hotmail nederland

    ReplyDelete
  16. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. Learn more about the Advantage of the Xamarin App development with help of the given post.

    ReplyDelete
  17. I read your post its amazing and the i agree your all points because all is very good informative and meaningful in the post. Well done nice efforts Thanks you for sharing blog.

    Hire Xamarin Developer

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. I went over this website and I believe you have a lot of wonderful information, saved to my bookmarks ajp150

    ReplyDelete
  20. Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject!
    create taxi app

    ReplyDelete
  21. Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. sweeper

    ReplyDelete
  22. I went over this website and I believe you have a lot of wonderful information, saved to my bookmarks https://soccerstreamings.live/

    ReplyDelete
  23. I am definitely enjoying your website. You definitely have some great insight and great stories. https://ufcstreaminglinks.website/

    ReplyDelete
  24. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. https://redditmmastreaming.live/

    ReplyDelete
  25. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. https://mlbstreaminglinks.website/

    ReplyDelete
  26. Super-Duper site! I am Loving it!! Will come back again, Im taking your feed also, Thanks. https://redditnbastreaming.live/

    ReplyDelete
  27. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. https://redditufcstream.live/

    ReplyDelete
  28. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. https://thesoccerstreaming.live/

    ReplyDelete
  29. Xamarin Monkeys: Xamarin.Forms - Open App Store Or Play Store In Xamarinapp >>>>> Download Now

    >>>>> Download Full

    Xamarin Monkeys: Xamarin.Forms - Open App Store Or Play Store In Xamarinapp >>>>> Download LINK

    >>>>> Download Now

    Xamarin Monkeys: Xamarin.Forms - Open App Store Or Play Store In Xamarinapp >>>>> Download Full

    >>>>> Download LINK c3

    ReplyDelete
  30. Great article! Thank you for sharing an information on Xamarin App Development. I also share Xamarin is Cross-platform mobile app development framework. It's very popular for custom Android app development and iPhone App development solution. Thank you again!

    ReplyDelete
  31. Hey guys! Good idea!!! Now is moment for Play Store Gratis, i guees to my fantastic day

    ReplyDelete