How to make an app available to install on Android for Work

1k Views Asked by At

Problem

I have been developing a Xamarin.Forms App for the Android platform. The App is intended to be released on the Google Play Store, but for testing purposes I need to deploy a beta version through our MobileIron Internal App Store towards devices which have an Android For Work profile enabled. However, the app cannot be installed on these devices.

Specifications

  • The app has been developed with Xamarin.Forms
  • The app has minimum Android Version 4.4 (API Level 19)
  • The app has target Android Version 8.1 (API Level 27)
  • The app is able to be installed through MS App Center on other devices which do not hold this Android For Work profile which is managed by MobileIron.
  • The app has been uploaded through our MobileIron Internal App Store without being wrapped through the MobileIron Developer Portal.
  • The app has been uploaded through our MobileIron Internal App Store while being wrapped through the MobileIron Developer Portal.

Message

The message when selecting the App in the MobileIron Internal Store is in Dutch and says: "Deze app is niet beschikbaar voor apparaten met Android For Work." which roughly translates to: "This app is not available for devices using Android For Work" while the install button is disabled (greyed out).

I have not had a lot of experience with MobileIron or devices which hold an Android For Work profile, so any suggestion could help. Thanks in advance

1

There are 1 best solutions below

3
Rodrigo Bagni On

Have you tried setting the minimum SDK value to something higher than level 21?

"Android 5.0 (API level 21) allows organizations to set up work profiles". https://developer.android.com/work/managed-profiles.html