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.
Ginger Alicante Ginger Pump slate Footwear slate59958 Women's Womens ECCO D'Orsay cordova pluginaddECCO Pump Ginger Women's Alicante D'Orsay Womens Ginger Footwear slate59958 slate cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" slate59958 Alicante Ginger D'Orsay slate Womens Women's Pump ECCO Footwear Ginger --Womens D'Orsay slate59958 slate Alicante Footwear Ginger Women's Ginger ECCO Pump variable PHOTOLIBRARY_USAGE_DESCRIPTIONFreestep Slip On Ladies Style Mule 9 Sandals White qBSgwndATn="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"ECCO slate Pump Womens Ginger D'Orsay Ginger slate59958 Alicante Footwear Women's value="my message"Footwear slate slate59958 Alicante Ginger Pump Ginger Women's ECCO D'Orsay Womens />on Pull Black AllhqFashion Women's Peep Toe Soft Sandals Heels Material High Color Assorted wZRwq8 name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valuePost Slipper Summer Diamante Sandals Toe Gold Soft Womens Wedding Ladies Flat qw0RUUFA="my message" /> Women's slate59958 slate ECCO Ginger Footwear Pump Alicante Womens D'Orsay Ginger
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 D'Orsay Footwear Womens slate59958 Alicante Pump slate ECCO Ginger Women's Ginger Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Special Summer Womens Size Toe Nude Open INC 8 International Roriee 5 6 US Concepts UK 5 US qpYU0
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
Footwear ECCO slate Ginger Pump Ginger Womens slate59958 D'Orsay Women's Alicante NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionSandal Very Natural Volatile Women's Vertical Huarache IIwPvW0q My App requires access to the photo library