Android Managed Configurations Support



I am developing an enterprise application for android and wish to implement managed configurations as described here:
Is this something that NativeScript can support, and if so, how do I go about implementing it?

I have tried adding app_restrictions.xml to the App_Resources/Android/values folder but I get the following build error:

Execution failed for task ':mergeF0F1DebugResources'.
Error: Unsupported type 'restriction'

This is the content of app_restrictions.xml:

<?xml version="1.0" encoding="utf-8"?>
<restrictions xmlns:android="">
    android:defaultValue="true" />

Update: Solved on Stack Overflow. The restrictions file must be placed in a new App_Resources/Android/xml folder.


I dropped the answer in SO for completeness.


(and for the points of course :D)