Ios not using custom usage description strings for permissions

Hi folks my usage description strings for permissions are not getting picked up in the final build. I’m referring to the likes of NSMotionUsageDescription and NSCameraUsageDescription just as examples. I’ve tried setting them in multiple ways without any luck:

  • in the config.xml file:
    • using <config-file>
    • using <edit-config>
  • using the ios-camera-permissions plugin (for NSCameraUsageDescription, NSPhotoLibraryAddUsageDescription, and NSPhotoLibraryUsageDescription)

I’m not sure what else to try, or why this is happening. Does anyone have any ideas? Thanks.

Using the custom config plugin is what finally made it work for me.