Headwind MDM should automatically grant all runtime permissions, but probably this doesn't work correctly for NFC.
Please try the following: open the configuration which device is using, and set "Permissions for other apps": "Ask user for all permissions". Then uninstall your app, and re-install it through MDM. Probably this would make your app working.
Also, make sure the field "Restrictions" in the "MDM settings" tab is empty.