My question might seem really stupid, to those who have worked on android Airwatch implementation. But their documentation is not very well written, and I have a few doubts.
So I have setup my user, and added my device using airwatch console.
I have added the App restrictions code in my existing android application.
I have also added the key, values to be pushed to application, via Airwatch Agent app.
But I do not receive these key, values, which I should when I execute the following code :
Bundle appRestrictions = myRestrictionsMgr.getApplicationRestrictions();
The appRestrictions bundle is empty.
I read some where in the docs, that the AppConfig requires Android 5.0+ with Android for Work Device. Does this mean I have to enable android for work capability on my android device? Is this required even for development purpose? I tried in vain doing so using this link : https://support.google.com/a/answer/6178111?hl=en. Can some one please share a doc, to enable android for work capability on my android device, if this is required.