Xamarin Android – Beta Distribution With Fabric

This article details how you can integrate Crashlytics with a Xamarin Android Application. This content also appears in my Using Crashlytics With Xamarin Apps post where I walk through all the steps required to distribute Xamarin apps for beta testing with Fabric.

 

Archiving

Firstly you should run your app (preferably on a physical device), make sure the build is set to release and that the app is tested and working.

Screen Shot 2018-06-26 at 16.43.11.png

Next in Visual Studio go to Build -> Archive For Publishing. Visual studio will then archive your app, eventually you will be taken to the archive screen.

Screen Shot 2018-06-26 at 16.43.37.png

On this page you will want to select, sign and distribute. Fortunately because we are on Android this process is really easy (compared to iOS). Select Ad-Hoc for distribution.

Screen Shot 2018-06-26 at 16.45.11.png

On the signing identity page, you will need to create a signing key for your app (unless you have already created one). Create a new key, select it and continue.

Screen Shot 2018-06-26 at 16.47.23.png

On this next page press publish and you will be asked where you want to save the app. Save it to a sensible place and then enter the password for the key you just created.

Screen Shot 2018-06-26 at 16.47.33.png

Your app has now been published and is ready to be distributed!

Distributing

Screen Shot 2018-06-26 at 16.51.54.png

In Android Studio load up the Fabric plugin, find your app and click on the archive button (shown above)

Screen Shot 2018-06-26 at 16.52.19.png

Drag the Signed APK for your app into the fabric window (mine’s called com.axemasta.axemastaxamfabricdemo-Signed.apk), it should be accepted and allow you to choose testers.

Screen Shot 2018-06-26 at 16.53.57.png

Now write your release notes and you are ready to go!

Screen Shot 2018-06-26 at 16.56.05.png

Hit distribute and your build will be uploaded and distributed!

You should now see all of your testers as you normally would using Fabric.

Screen Shot 2018-06-26 at 16.56.48.png

The End

If this article helped you, please let me know by commenting below.

You can find me on the following sites:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s