This does not look like a ban on running the app from Headwind MDM launcher.
Usually it looks like this:
https://qa.h-mdm.com/17491/cannot-grant-permissions-black-screen-access-the-app-blocked
By default, Headwind MDM grants all permissions which it is allowed to grant. However some permissions still couldn't be granted which may corrupt the application permission request flow. Here's the workaround we could suggest:
1. Make sure your application works without Headwind MDM
2. Try turning off kiosk mode in Headwind MDM
3. Try switching off auto-granting permissions (in the configuration details, set "Permissions for other apps" - "Ask user for all permissions").
4. Check the logcat and try debugging your application when MDM is managing the device.