We are trying out Android Management API. and we are controlling apps by defining them in the policy.
Now for some reason, we need to allow the user to purchase the app or use an already purchased app (which will be the personal account i.e. gmail.com)
{
...
"applications": [
{
"packageName": <app_package_name>,
"installType": "BLOCKED"
},
{
"packageName": <app_package_name>,
"installType": "AVAILABLE"
}
]
}
But, the device enrolled in fully managed devices mode using Android Management API, the play store is managed and hence allows only {some_random_number}@android-for-work-gsearvices.com account to be used in play store. Other email accounts don't show up in the user selection of the play store, even after logging in from settings.
Please assist me to find the solution for the above thingy.