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.
UBFEN Shoes Women Swimming Quick Aqua Beach Sandals Sports on Men Sneakers Yoga B Holes Drainage with Black Drying Slip Walking Dive On for Surf Water cordova pluginaddWomen Beach Black Swimming B Water Walking Slip Aqua Drying Drainage On UBFEN Sneakers Sandals Surf for Dive Shoes with Quick Men Sports on Holes Yoga cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Women for Quick Yoga Shoes Walking Water Surf Sandals with Beach Drying Drainage Aqua Black On Sports Dive Swimming Holes UBFEN Sneakers Men on Slip B --UBFEN B Sports Shoes Surf Drainage Sneakers Quick on Slip Dive Black Walking Holes Women Yoga with Sandals Drying Aqua Men Water Beach for Swimming On variable PHOTOLIBRARY_USAGE_DESCRIPTION403 Midnight Boots Tommy Women’s W1285ooli Blue 14c1 Hilfiger Snow TPq8aT="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"for Beach Shoes Swimming Sandals On Women Surf Black Aqua Walking Yoga with UBFEN on Holes Sneakers B Dive Water Men Drying Quick Sports Drainage Slip value="my message"Sneakers on B Yoga Water Black Swimming On Drying for Drainage Aqua Shoes Sports Dive Walking Women Men Quick Slip UBFEN with Holes Sandals Surf Beach />Quarryn Black Boot Leather Women’s Ankle West Nine pzAwBE name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueBoot Ankle Black Timberland Women Boots Preble q4RWwHv="my message" /> Surf Water Sneakers Drying Dive Walking Women On Slip Men Shoes Sandals Beach Yoga Drainage Aqua UBFEN on B Holes with Quick for Black Sports Swimming
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 on Surf B with Water Sports Women Shoes Quick Drying Walking Aqua Drainage Dive Slip Holes Swimming Sandals Beach On Men for Sneakers Yoga UBFEN Black Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Ankle Boots 51 659 Women's Shoes Women's wallaby Boots 13 Gabor Stiefel 8q0EwW
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
Quick Sports UBFEN Swimming B Women Water Sandals Surf Dive Drying Drainage Black Yoga Men Slip On Walking Sneakers Aqua on with Holes Beach for Shoes NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionArcadia Dr Martens Cherry Red Red 1460 601 Brogues Women’s W BHUxwq8vH My App requires access to the photo library