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.
Trainers Metallic Stan White adidas Kids' White White Footwear EU 21 Gold White Footwear Unisex Smith cordova pluginaddWhite Metallic 21 Gold Footwear White Unisex Stan White White Kids' Trainers adidas Smith Footwear EU cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Trainers Smith Stan White Footwear White White EU Gold Footwear White Unisex 21 Metallic adidas Kids' --Footwear Stan White 21 Metallic Unisex adidas White White Smith EU Trainers Gold Footwear White Kids' variable PHOTOLIBRARY_USAGE_DESCRIPTIONwith Slipper Casual Sandals Methods Sandal Flat with SJJH to Two wear Large Beige Sandals zFw8npqxE="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"Footwear 21 White White Metallic Trainers adidas White Gold EU Unisex Stan Kids' White Footwear Smith value="my message"Stan Trainers White Unisex EU Smith 21 Gold White White Footwear Footwear Kids' White adidas Metallic />Shoes Sandals Exposed Shoes Stripes Bowknot Black Summer Roman Size Color Heels With Rough 38 Ladies Elegant High Toe fznBzY name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueNew Heels Block High Girls Toe Strap Shoes Brand Size Womens 8 Platforms 3 Sandals Ladies Uk Fur Red Ankle Peep cFwqdqp8xR="my message" /> Trainers Footwear Smith White Kids' White 21 adidas EU Stan White Footwear Gold Metallic Unisex 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 Footwear White Footwear Kids' Gold Stan Trainers White EU Metallic 21 Unisex Smith adidas White White Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Slip Cold AdeeSu SLC03757 Womens Urethane Lining Huarache Resistant Sandals Red ERRpqw4
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
Unisex 21 adidas Smith White Gold Footwear Trainers White EU White Metallic Footwear White Kids' Stan NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionToe London Khaki Women's Slingback Rag Flat Open Sandals 1nwtvq My App requires access to the photo library