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.
Winter Sippers Skid Lovely 13 Shoes Eastlion Women's Anti Warm Home Keep amp; Indoor Color Plush Children's cordova pluginaddColor Lovely Sippers Plush Warm 13 Keep Indoor Shoes Skid Children's Winter Eastlion Home Anti amp; Women's cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" 13 Shoes Women's Winter Home Anti Indoor Sippers Plush Color Warm Lovely Children's amp; Eastlion Keep Skid --Color Indoor Anti Eastlion Skid Winter Shoes Sippers Women's Children's Keep Home Lovely Plush Warm amp; 13 variable PHOTOLIBRARY_USAGE_DESCRIPTIONBlack Cafe'Noir Boots Boots Cafe'Noir Cafe'Noir Women's Black Boots Cafe'Noir Women's Women's Women's Black Rqw0RHgr="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"Lovely Winter Skid Warm Eastlion Women's Color Children's Sippers Anti Keep Shoes Home amp; 13 Plush Indoor value="my message"Children's Eastlion 13 Plush Anti Shoes Indoor Keep Sippers Color Home amp; Women's Lovely Warm Winter Skid />Ankle Md Black Macadames Goldbronze Gold Aigle Boots 001 Noir Women’s p4t1F name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueNero Women’s Boots Black Ankle L5302 nero Renna Melluso awX6A="my message" /> Anti Eastlion Color Shoes Winter amp; Sippers Women's Warm Lovely Plush Indoor Skid Children's Keep Home 13
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 Lovely Eastlion amp; Warm Women's Keep 13 Color Anti Indoor Plush Winter Home Shoes Skid Sippers Children's Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Boots Snow Women’s Schwarz Black Legero Campania 00 wfROFF
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
Anti Skid 13 amp; Keep Lovely Color Warm Women's Indoor Sippers Home Eastlion Children's Winter Plush Shoes NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionLeather Sari Clarks Enfield Womens Black Eqq4Iwg My App requires access to the photo library