James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

iOS

Introducing Azure DevOps (VSTS) Mobile App Tasks Extension for iOS and Android

This year I have made a big push towards making Visual Studio Team Services my new continuous everything for my mobile apps, libraries, and any other project that I work on. While Azure DevOps (VSTS) has a lot of built in tasks for mobile applications, there are still a few essential things missing that would really make it a joy to use. The top that stuck out was having the ability to easily bump the version/build numbers for iOS and Android. The other was to change the app's label and package…

James Montemagno James Montemagno

Building Xamarin.iOS Apps in Azure DevOps (VSTS) with Hosted macOS Agents!

Azure DevOps (VSTS) is quickly becoming one of my favorite products that Microsoft creates for developers. It helps any developer writing apps in any language build, test, and deploy their applications. On top of that it has free unlimited private Git repos, work item tracking and kanban board, test, release management, and so much more! What is cool is you can use some of it or all of it, up to you. So if you have your code in GitHub, no problem, want to use Trello, no problem, because they all…

James Montemagno James Montemagno

Streamlined TestFlight Registration with fastlane

I think we all can agree that attempting to do beta testing on iOS is pretty terrible. You can't side load apps easily, provisioning profiles are terrible, and manually adding people to TestFlight is no fun. All I want to do is get my app in users hands! Why do I have to go through so much stress? Well you don't, because fastlane comes in to save the day just like it simplifies provisioning in Visual Studio for Mac. The issue with TestFlight So TestFlight is a bit better now that we can add 1…

James Montemagno James Montemagno

Xamarin Live Player - VS 2017 version 15.4 & 15.5 Awesomeness

Last week Visual Studio 2017 version 15.4 and VS for Mac 7.2 were released into the stable channel. They include the very first release of the Xamarin Live Player capabilities in Visual Studios. This means you can simply update Visual Studio, turn on Xamarin Live Player (Preview), and get started visualizing your mobile apps with nothing more than VS and your iOS or Android device! Whenever there is a stable release a new preview release of Visual Studio is not far behind. That is right, VS 2…

James Montemagno James Montemagno

iOS 11 Missing Marketing Icon

It is update season for iOS and Android applications with new versions of the operating systems being released. Today, I was on my way to push out a new version of the Xamarin Live Player to Test Flight users and hit this nasty error: Missing Marketing Icon. iOS Apps must include a 1024x1024px Marketing Icon in PNG format. Apps that do not include the Marketing Icon cannot be submitted for App Review or Beta App Review. What is that?!?!? I swear I uploaded the icon to iTunes connect. Well.…

James Montemagno James Montemagno

Connectivity Plugin 4.0: Important and Awesome Changes

The Connectivity Plugin for Xamarin is my second most installed NuGet package with nearly 600,000 installs at time of writing this. It is easy to see why as it gives developers the ability to check connectivity on any platform with a single line of code, subscribe to events, and see what the current connection type is, with a complete cross platform API for iOS, Android, macOS, and Windows. I mean look at this thing, it is beautiful: if(CrossConnectivity.Current.IsConnected) { //You are…

James Montemagno James Montemagno

Dynamically Changing Xamarin.Forms Tab Icons When Selected

Spicing up your Xamarin.Forms tab can easily be done in a few ways. You can add tint color in Android when the user deselects a tab, which can also be done in iOS in addition to a full swap of a selected image. It was recently pointed out to me that these blogs highlighted a way of adding back a bit of nativeness, but didn't answer a different question of how to actually completely change the icon itself when a tab is selected. This question caught me off guard as I have never really changed th…

James Montemagno James Montemagno

Why Xamarin.Forms Embedding Matters

Last week I wrote about Xamarin.Forms Embedding, a great new feature of Xamarin.Forms, that enables developers to convert a Xamarin.Forms ContentPage into an iOS UIViewController, Android Fragment, and a UWP Page. I walked through the current setup and a real world example of adding Xamarin.Forms details pages to my Xamarin Native application which previously only had native Storyboards and Android XML pages. When I originally got this setup and working I was blown away by this feature and it is…

James Montemagno James Montemagno

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!