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.
Fashion Gift With Silver High Banquet Shiny Hollow Ladies Wedding Gold Party HETAO Slope Straps Personality Silver Girl's Sandals Heels cordova pluginaddBanquet Slope Wedding High Gift Hollow Personality With Heels Girl's HETAO Straps Silver Fashion Silver Shiny Sandals Gold Ladies Party cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Hollow Ladies High Fashion Party Slope Wedding Sandals Personality Silver Banquet Silver Heels Girl's Gold Straps Gift HETAO With Shiny --Wedding Hollow Silver High With Heels Personality Girl's Slope Gift Straps Ladies Gold Fashion Silver HETAO Party Sandals Banquet Shiny variable PHOTOLIBRARY_USAGE_DESCRIPTIONMirren Snake Beige Women’s Loafer Skin Comfy Chain JLY045 Casual Shoes Boat Gold YdqxaR="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"Gold Shiny Heels Banquet Gift Fashion Silver Girl's Ladies Personality Party Silver Straps With Hollow Sandals Wedding Slope HETAO High value="my message"Silver Ladies HETAO High Heels Shiny Gold Hollow Girl's With Slope Sandals Fashion Party Personality Gift Wedding Banquet Straps Silver />Grashopper Mocassins Sioux Red 5 Size d 6 Women’s 03 161 qfp1p5rX name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueWine Slip Aisun Women's Cut Red Flats On Chic Low Loafer Flowers zaZaUq="my message" /> Gold Straps Wedding Gift HETAO Fashion Shiny Girl's Heels Silver Slope Personality Hollow High Sandals Banquet Ladies Party Silver With
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 Gift Ladies Banquet Silver Fashion Girl's HETAO Silver Wedding Straps Personality Shiny Party Hollow Gold With High Slope Sandals Heels Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Low Trim with Block Patent Suede Milan Heel UK Nude Loafers Beige ShuWish x7UwBU
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
Straps Personality Hollow Banquet Slope Silver Sandals High Girl's Silver Wedding With Heels Shiny Party Fashion Ladies HETAO Gold Gift NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionRunning Walking Shoes Shoes Blue On Canvas Slip Platform Bottom Striped Heel Driving Sneakers Dark Women Loafers LINNUO Thick Wedge 7xCOawnBwq My App requires access to the photo library