{"id":22771,"date":"2015-11-17T07:00:10","date_gmt":"2015-11-17T15:00:10","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=22771"},"modified":"2019-04-03T15:45:45","modified_gmt":"2019-04-03T22:45:45","slug":"introducing-xamarin-4","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/introducing-xamarin-4\/","title":{"rendered":"Introducing Xamarin 4: Everything You Need to Build Great Apps"},"content":{"rendered":"<p>Today, we are extremely excited to introduce Xamarin 4, a complete mobile solution to help you build amazing mobile apps from start to finish.<\/p>\n<p>Xamarin 4 is packed full of major enhancements to the <a href=\"http:\/\/xamarin.com\/platform\">Xamarin Platform<\/a> and <a href=\"http:\/\/xamarin.com\/test-cloud\">Xamarin Test Cloud<\/a>, but today we&#8217;re also proud to announce the general availability of our real-time app monitoring service, <a href=\"http:\/\/xamarin.com\/insights\">Xamarin Insights<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22800\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Mobile-life-cycle1.jpg\" alt=\"Xamarin Mobile Development Lifecycle\" width=\"850\" height=\"233\" \/><\/p>\n<p>The highlights of Xamarin 4 are covered below, but if you want to learn about more of the details and see some demos, please <strong>join me and James Montemagno on Friday November 20 for a <a href=\"https:\/\/resources.xamarin.com\/xamarin-4-webinar-5-am.html\" target=\"_blank\" rel=\"noopener\">webinar<\/a><\/strong> dedicated to what&#8217;s new in Xamarin 4.<\/p>\n<h2>Xamarin Platform \u2013 native, cross-platform apps<\/h2>\n<h3>Xamarin.Forms 2.0<\/h3>\n<p>Since releasing <a href=\"https:\/\/xamarin.com\/forms\" target=\"_blank\" rel=\"noopener\">Xamarin.Forms<\/a> last year, we&#8217;ve been amazed at how quickly developers have adopted it, accelerating their time-to-market for cross-platform native experiences across iOS, Android, and Windows, all while sharing over 90% of their code.<\/p>\n<p>Since then, we&#8217;ve more than doubled the engineering team behind Xamarin.Forms, and made major improvements along the way. Today, Xamarin.Forms 2.0 is faster, more reliable, and more functional than ever before. Highlights include support for <a href=\"https:\/\/developer.xamarin.com\/guides\/cross-platform\/xamarin-forms\/user-interface\/xaml-basics\/xamlc\/\">pre-compiled screens defined in XAML<\/a> for faster app loads, <a href=\"http:\/\/developer.xamarin.com\/guides\/cross-platform\/xamarin-forms\/windows\/getting-started\/universal\/\">preview support for Universal Windows Platform apps<\/a>, support for iOS 9, <a href=\"https:\/\/blog.xamarin.com\/material-design-for-your-xamarin-forms-android-apps\/\">Android Material Design<\/a>, and new gestures like pinch and pull-to-refresh.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/crm-app@2x.png\"><img decoding=\"async\" class=\"aligncenter wp-image-22867\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/crm-app@2x.png\" alt=\"Native Xamarin.Forms app displayed on iOS, Android, and Windows Phone devices\" width=\"850\" height=\"565\" \/><\/a><\/p>\n<h3>Visual Studio and iOS<\/h3>\n<p>We&#8217;ve rebuilt our support for developing iOS apps in Visual Studio from the ground up, and it&#8217;s smoother, <a href=\"http:\/\/developer.xamarin.com\/guides\/ios\/getting_started\/installation\/windows\/xamarin-mac-agent\/\">easier to set up<\/a>, and more reliable than ever before.\u00a0Now you can develop, build, deploy and debug\u00a0iOS apps entirely from within Visual Studio and communication with the Mac build host is now handled via\u00a0a secure SSH connection. We now also support multiple concurrent Visual Studio instances, which is especially important if you have multiple iOS projects open at the same time. We think you&#8217;re going to love it.<\/p>\n<h3>Mono\/.NET upgrade<\/h3>\n<p>In Xamarin 4, we have incorporated large portions from Microsoft&#8217;s open sourced .NET codebase into this release, increasing compatibility, performance, and reliability for all use cases.<\/p>\n<h3>Android and iOS Designers<\/h3>\n<p>We&#8217;ve made big improvements to our\u00a0iOS and Android designers.\u00a0The\u00a0iOS designer can now <a href=\"http:\/\/developer.xamarin.com\/guides\/ios\/user_interface\/designer\/introduction\/#.xib_Support_in_the_Designer\">load and save XIB files<\/a> in addition to storyboard files, and our Android designer now supports <a href=\"http:\/\/developer.xamarin.com\/guides\/android\/user_interface\/designer_overview\/part_4_-_material_design_features\/\">Android Material Design<\/a>. We have also improved the UI for both designers, and switched to using high-performance native design surfaces, for a smoother, faster editing experience.<\/p>\n<h2>Xamarin Test Cloud \u2013 automated app testing<\/h2>\n<p>We built <a href=\"https:\/\/xamarin.com\/test-cloud\" target=\"_blank\" rel=\"noopener\">Xamarin Test Cloud<\/a> to allow you to easily test your app on more than 2,000 real iOS and Android devices in the cloud. With Xamarin 4, we\u2019re making mobile testing more accessible than ever.<\/p>\n<h3>Introducing Xamarin Test Recorder<\/h3>\n<p>We\u2019re introducing a new preview tool that makes mobile UI testing dead simple: <a href=\"https:\/\/xamarin.com\/test-cloud\/recorder\" target=\"_blank\" rel=\"noopener\">Xamarin Test Recorder<\/a>. Initially available for Mac, Xamarin Test Recorder records your interactions on iOS or Android apps, plays them back, and automatically creates test scripts that can immediately be run in Xamarin Test Cloud or imported into mobile test projects in <a href=\"https:\/\/xamarin.com\/studio\" target=\"_blank\" rel=\"noopener\">Xamarin Studio<\/a> and Visual Studio. Xamarin Test Recorder records your actions in our C#-based <a href=\"https:\/\/developer.xamarin.com\/guides\/testcloud\/uitest\/\" target=\"_blank\" rel=\"noopener\">UITest<\/a> framework so you can automatically execute them as part of your continuous integration process either locally or in the cloud. <a href=\"https:\/\/xamarin.com\/test-cloud\/recorder\" target=\"_blank\" rel=\"noopener\">Download it now<\/a> to get started.<\/p>\n<h3>Xamarin.UITest 1.0<\/h3>\n<p>Xamarin 4 includes the 1.0 release of the <a href=\"https:\/\/developer.xamarin.com\/guides\/testcloud\/uitest\/\" target=\"_blank\" rel=\"noopener\">Xamarin.UITest C# testing framework<\/a>, with new capabilities for advanced test scenarios. We&#8217;re also very happy to announce that Xamarin.UITest is now <b>free for everyone to use<\/b>, with no limits on test duration, or the use of local devices and simulators. The powerful combination and ease of use of Xamarin Test Recorder and Xamarin Test Cloud will help you immediately improve your apps.<\/p>\n<h2>Xamarin Insights \u2013 real-time app monitoring<\/h2>\n<h3>General Availability<\/h3>\n<p>We\u2019re proud to announce that starting today, <a href=\"https:\/\/xamarin.com\/insights\" target=\"_blank\" rel=\"noopener\">Xamarin Insights<\/a> is generally available, with free crash reporting for all Xamarin Platform customers and advanced app monitoring features for power users.<\/p>\n<h3>Know the Health of Your App, Know Your Users<\/h3>\n<p>App monitoring begins with knowing what problems your users are encountering. Is the app crashing or encountering exceptions or errors? Xamarin Insights provides automatic crash reporting and handles both managed and unmanaged mobile crashes seamlessly. You can also explicitly report errors or warnings to Xamarin Insights and track them through the its dashboard. Xamarin Insights makes it easy to rank your issues by impact, spot patterns in app and device usage, and diagnose the corresponding issues.<\/p>\n<p>Xamarin Insights also helps you understand how your app is being used by tracking and timing step-by-step event data. Analyze which screens are the most popular or which actions take your users the longest. You can even see which events led up to a crash, making it easy to reproduce your issues.<\/p>\n<p>You can add Xamarin Insights to your app with <a href=\"http:\/\/developer.xamarin.com\/insights#quick-start\">just a few lines of code<\/a>. In Xamarin Studio, new apps immediately get the benefit of Xamarin Insights with templates that utilize the SDK from the very beginning of a mobile project. And your IDE will automatically upload dSYM files for you so that you get symbolicated stack traces with line numbers.<\/p>\n<p>Visit our <a href=\"http:\/\/developer.xamarin.com\/guides\/cross-platform\/insights\/\" target=\"_blank\" rel=\"noopener\">docs<\/a> to get started.<\/p>\n<h2>End-to-End for Everyone<\/h2>\n<p>We think it&#8217;s important that every developer be able to benefit from the full range of what Xamarin 4 can do, which is why we&#8217;re excited to announce that as a part of their existing subscription, <b>every active Xamarin subscriber<\/b> will receive:<\/p>\n<ul>\n<li>Crash and error reporting from Xamarin Insights with 30 day data retention and detailed issue reports that include step-by-step pre-crash events and crashed-user identification.<\/li>\n<li>60 Xamarin Test Cloud device minutes per month, with access to every single one of the devices in our <a href=\"http:\/\/testcloud.xamarin.com\/devices\">growing test lab<\/a>.<\/li>\n<li>Complete access to Xamarin.UITest, including tests of unlimited duration running on simulator or device.<\/li>\n<li>A 30-day trial pass to <a href=\"http:\/\/xamarin.com\/university\">Xamarin University<\/a>, including access to guest lectures and our introductory courses.<\/li>\n<\/ul>\n<h3>Paid Plans<\/h3>\n<p>As your business grows and your apps progress, you can buy paid plans of Xamarin Insights and Xamarin Test Cloud that suit your needs.<\/p>\n<p>For companies who want to ramp up their mobile testing, we&#8217;re happy to introduce <a href=\"http:\/\/xamarin.com\/test-cloud#pricing\">affordable Xamarin Test Cloud pricing plans<\/a> starting at $99\/month (billed annually). If you want to go further with app monitoring, we also provide scalable <a href=\"http:\/\/xamarin.com\/insights#pricing\">Xamarin Insights paid plans<\/a>.<\/p>\n<h3>Xamarin Ultimate<\/h3>\n<p>Finally, for companies who want a complete end-to-end solution, we&#8217;re introducing a new offering called <a href=\"https:\/\/xamarin.com\/ultimate\" target=\"_blank\" rel=\"noopener\">Xamarin Ultimate<\/a>, which includes full access to all the features of Xamarin Platform, Test Cloud, Insights, and University for your entire team in a complete package at a great price. If you\u2019re interested in learning more about this, please get in touch with our sales team at <a href=\"mailto:hello@xamarin.com\" target=\"_blank\" rel=\"noopener\">hello@xamarin.com<\/a>.<\/p>\n<h2>Learn more<\/h2>\n<p>If you&#8217;re ready to dive into Xamarin 4, we have a previously recorded webinar covering <a href=\"https:\/\/youtu.be\/Pnx_RVzFtQg\" target=\"_blank\" rel=\"noopener\">an overview of Xamarin 4<\/a>, as well as ones providing <a href=\"https:\/\/youtu.be\/3QR67V2x90w\" target=\"_blank\" rel=\"noopener\">a deeper look at building apps with Xamarin Platform<\/a> and <a href=\"https:\/\/youtu.be\/4fKPC9safDw\" target=\"_blank\" rel=\"noopener\">getting started with Xamarin Test Recorder<\/a>.<\/p>\n<p>Lastly, if you\u2019re new to Xamarin you can get started with a <a href=\"https:\/\/xamarin.com\/download\" target=\"_blank\" rel=\"noopener\">free trial<\/a> now and explore what Xamarin Platform, Test Cloud, and Insights have to offer!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we are extremely excited to introduce Xamarin 4, a complete mobile solution to help you build amazing mobile apps from start to finish. Xamarin 4 is packed full of major enhancements to the Xamarin Platform and Xamarin Test Cloud, but today we&#8217;re also proud to announce the general availability of our real-time app monitoring [&hellip;]<\/p>\n","protected":false},"author":800,"featured_media":22810,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2,3],"tags":[17,4,15,16],"class_list":["post-22771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","category-enterprise","tag-xamarin-insights","tag-xamarin-platform","tag-xamarin-test-cloud","tag-xamarin-forms"],"acf":[],"blog_post_summary":"<p>Today, we are extremely excited to introduce Xamarin 4, a complete mobile solution to help you build amazing mobile apps from start to finish. Xamarin 4 is packed full of major enhancements to the Xamarin Platform and Xamarin Test Cloud, but today we&#8217;re also proud to announce the general availability of our real-time app monitoring [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/22771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/800"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=22771"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/22771\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=22771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=22771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=22771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}