Leaner Mobile DevOps Implementation Using Visual Studio App Center

DevOps is an important facet of mobile app development that is now a requirement for a successful app life cycle. When building and delivering mobile apps nowadays, one has to consider setting up a lot of different things.  

What is the best way to build and deliver the app? Which service will handle code signing? How will usage and crashes be monitored? How will users be authenticated? The list goes on and on. And because of all of these complexities, we create a lot of assumptions and conflicting thoughts on what DevOps really is. We can relate this to the picture below of a twist on the classic parable of The Blind Men and an Elephant:

TL-March-Picture-1
The Blind Scientists and the Elephant

This is a story where a group of blindfolded scientists come across an elephant. They start feeling the object in front of them but each only feels one part of the elephant. They then describe the elephant based on their partial experience and they disagree on what an elephant is. One says it is like a rope; another says it is like a tree. Because they are scientists, they become experts on their partial experiences with the elephant. So the moral here is that people become experts on their partial experiences, sometimes forgetting the big picture. We can relate this to DevOps, in that there are so many processes we have to do to achieve automation that we forget to see the whole picture. So in the current DevOps landscape,  each process depends on an expert that handles it. For example, someone creates a HockeyApp account and is in charge of monitoring and distribution since he owns the account. What if the person goes on leave? An iOS developer will take care of the build server for iOS – But what if the build server goes down and the iOS guy is not around?

In reality, DevOps is just the sum of these different processes where the main goal is to deliver products faster. Microsoft realises this and combines all these processes into one platform called Visual Studio App Center.

TL-March-Picture-2
Visual Studio App Center: A One-Stop Shop for DevOps

Visual Studio App Center has everything one needs to manage the life cycle of mobile apps, from creating automated builds, to testing on devices in the cloud, to distributing to beta testers and uploading to app stores, as well as monitoring of your user’s usage through crash and analytics data. Visual Studio App Center is available for iOS, Android, Windows and even macOS apps. Xamarin, Objective-C, Swift, Java, and React Native are supported across all of the features.

To start using Visual Studio App Center, you can use your Github, Microsoft, or even your Facebook or Gmail account. After logging in, you can immediately see that the web-based portal is very straightforward and easy to use.

Build

Using App Center, you can connect to your Github, Visual Studio Team Services or Bitbucket repo, configure fields, upload the necessary keystore files and start building. All of this is done in the cloud, so you don’t have to think about setting up a server for your apps. You can enable your builds to “launch test” your apps to verify whether the app builds in real-world iOS and Android devices (albeit with longer build times). You can even add post-clone, pre-build, and post-build scripts to further customise your builds

TL-March-Picture-3
Test

There are a ton of benefits in catching bugs in your app before distributing it to your users. The Test feature will let you run automated UI tests for your iOS and Android apps on real devices on the cloud. You can create tests using various test frameworks like Xamarin UI Test, Appium, Espresso, and XCUITest for iOS. You can set the tests to run on every commit or manually. There are also screenshots of every test step as well as logs and stacktraces so you can identify bugs and failures quickly.

TL-March-Picture-4
Distribute

For distributing your builds, you can create different groups so you can send the right builds to the right users at the right time. App Center uses the distribution technology behind HockeyApp so you can also release your apps to internal users, public beta testers, and even to Apple’s App Store, Google Play or Microsoft Intune.

TL-March-Picture-5
Analytics

App Center has integrated Analytics in their platform so developers can easily analyse their apps once it they have been distributed to their users. This helps us further understand our audience whenever they use our app. In this section, you can see active users, daily sessions per user, session duration, top devices used, and even the countries where the app was installed.

TL-March-Picture-6
Crashes

Crash reporting is also included in App Center and is a very useful feature that makes it easier for developers to monitor the health of their apps. Whenever your app crashes, App Center will guide you to exactly where in the code the error occurred, with full symbolication, which is a huge timesaver in debugging. Crash reporting also lets you create tickets in your bug tracker whenever a crash in your app happens.

TL-March-Picture-7

Visual Studio App Center is currently being used as the DevOps tool of choice in several mobile app projects in EPH. App Center not only helps us to easily set up and keep builds and releases streamlined and distributed to testers and customers but also provides services for automated testing and monitoring of multiple mobile applications across different platforms.

News from ERNI

In our newsroom, you find all our articles, blogs and series entries in one place.
Data Science Projects: How to Manage Stakeholders 19.04.2018.
Newsroom

Data Science Projects: How to Manage Stakeholders

The second part of our Managing Stakeholders ar...

>
ERNI Development Day in Bern 17.04.2018.
Newsroom

ERNI Development Day in Bern

Developing ourselves with many interesting sess...

>
Geneva Community Workshop 16.04.2018.
Newsroom

Geneva Community Workshop

We are a company that embraces a Learning Cultu...

>
Missed security pitfalls 11.04.2018.
Newsroom

Missed security pitfalls

It is not just securing the transmission and st...

>
VSTS/TFS automated build agent provisioning 08.04.2018.
Newsroom

VSTS/TFS automated build agent provisioning

Continuous Integration / Delivery is bread and...

>
Leaner Mobile DevOps Implementation Using Visual Studio App Center 04.04.2018.
Newsroom

Leaner Mobile DevOps Implementation Using Visual Studio App Center

DevOps is an important facet of mobile app deve...

>
Managing Stakeholders in Data Science 03.04.2018.
Newsroom

Managing Stakeholders in Data Science

Innovation can be hard to implement if there is...

>
The new ERNI Website 16.03.2018.
Newsroom

The new ERNI Website

We have worked hard on the implementation of ou...

>
> All News

ERNI Schweiz

Casinoplatz 2

3011 Bern

Phone: +41 58 268 12 00

Email: [email protected]

ask

ERNI Suisse

Bâtiment L

Route des Acacias 43

1227 Geneva

Phone: +41 58 268 11 03

Email: [email protected]

ask

ERNI Suisse

Voie du Chariot 3

1003 Lausanne

Phone: +41 58 268 11 03

Email: [email protected]

ask

ERNI Schweiz

Geschäftshaus Airgate

Thurgauerstrasse 40

8050 Zürich

Phone: +41 58 268 12 00

Email: [email protected]

ask

ERNI Deutschland

Bettinastrasse 30

60325 Frankfurt am Main

Phone: +49 69 97 46 12 75

Email: [email protected]

ask

ERNI Deutschland

Design Offices München – Arnulfpark

Luise-Ullrich-Str. 20

80636 München

Phone: +49 89 55 06 28 208

Email: [email protected]

ask

ERNI España

Edificio El Triangle

Plaça Catalunya 1-4, 3º planta, Módulo A y B

08002 Barcelona

Phone: +34 93 667 77 76

Email: [email protected]

ask

ERNI España

Calle Alcalá 61

3rd floor

28014 Madrid

Phone: +34 91 794 46 06

Email: [email protected]

ask

ERNI Slovakia

Ševčenkova 34

851 01 Bratislava

Phone: +421 2 32 55 37 37

Email: [email protected]

ask

ERNI Philippines

9th Floor, 500 Shaw Zentrum Building

500 Shaw Boulevard

Mandaluyong City, Philippines 1555

Phone: +63 2 531 59 82

Email: [email protected]

ask

ERNI Singapore

3 Temasek Avenue

Centennial Tower #34-10

Singapore 039190

Phone: +65 9161 9863

Email: [email protected]

ask

ERNI Romania

Calea Dorobantilor no. 98-100

3rd floor, in Olimpia Business Center

400609 Cluj-Napoca

Phone: +40 744 319 228

Email: [email protected]

ask
comment
better ask
ERNI