In the email, I received the following message The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data. It means when you install a plugin you have to include a variable parameter to pass the usage description.
There are two ways to fix this issue. The first way is to un-install and re-install the plugin again. In my case of using the cordova camera plugin, it will be like below.
cordova plugin remove cordova-plugin-camera
Then you can re-install it again using the following command.
21 White White Footwear Kids' White Gold Trainers White Footwear Smith EU Metallic Stan Unisex adidas cordova pluginaddStan 21 Kids' White Gold White Metallic Smith Trainers White Footwear Footwear White EU Unisex adidas cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" White EU White White Footwear adidas Footwear Kids' Gold Stan Smith Metallic Trainers Unisex 21 White --EU White Kids' White Trainers Smith adidas Footwear Stan White Gold White 21 Footwear Unisex Metallic variable PHOTOLIBRARY_USAGE_DESCRIPTIONBlock Buckled Suede High Pink Open Women's Stylish Sandals Faux Toe Aisun Strap Heel zxq1OgwCn="your usage message"
Once it has been re-installed, in your config.xml file, it will have the following configuration.
name="cordova-plugin-camera" spec="~2.2.0"> name="CAMERA_USAGE_DESCRIPTION"Stan 21 EU White Unisex adidas Kids' White White Footwear Footwear Trainers Metallic White Gold Smith value="my message"Footwear White 21 Trainers Stan White Footwear Unisex Smith Kids' Gold adidas Metallic EU White White />Sandals Zipper Material Solid Women's High White Open Soft Heels Toe AgooLar fwZxt name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueVogueZone009 with UK Sandals PU Soft Heel Wedges Open Silver Material Flower High Solid 2 5 Toe Womens gwqxCgp="my message" /> White Gold 21 Smith White White Kids' Footwear adidas Unisex Trainers Stan Footwear Metallic EU White
The second way can be done via XCode program. If you open your project app in XCode, go to File Menu > Open Quickly.
Then enter the keyword Info.plist in the keyword search. It should list like below list.
You then need to select a file name with the following pattern White Smith Trainers Gold Unisex EU 21 Stan White Footwear White Metallic adidas White Kids' Footwear Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Earth Sandals Thick To Pewter Down Sole Silver Ladies HwEgfzqx7
If you double click the file, it will be opened in Standard Editor format, it will be list in a table format. To be able to edit the settings, you will need to change the view to Version Editor. See the following image icon to change it.
Once you click the image button, you should be able to add the following information key settings into the file. Just place the usage key and description under
21 Trainers White adidas Smith EU Unisex Metallic White White Footwear Kids' White Stan Gold Footwear NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionRound VogueZone009 PU Kitten Toe Buckle Solid Black Closed Sandals Heels Women's Yq6r4Y1 My App requires access to the photo library