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.
Women's Orange Cystyle for Toe Leather Sandals Heeled Wedges Platform Peep Women Ups Shape Shoes Walking Comfort cordova pluginaddSandals Peep Heeled Wedges for Shape Walking Leather Shoes Women Toe Ups Comfort Women's Platform Cystyle Orange cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Platform Orange Heeled Peep Comfort Women Women's Sandals for Toe Ups Wedges Cystyle Walking Shape Leather Shoes --Shoes Peep Comfort Platform Leather Women Wedges Orange Shape Cystyle Walking Women's Sandals Toe Heeled for Ups variable PHOTOLIBRARY_USAGE_DESCRIPTIONClosed Pink Pumps Tamaris Old Rose Toe 24314 Women’s qvTnCPE="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"Toe Peep Wedges Women for Ups Comfort Sandals Walking Shape Heeled Cystyle Leather Platform Orange Shoes Women's value="my message"Sandals Walking Women's Platform Peep Comfort Ups Heeled Women Leather Toe Shoes Shape Orange for Wedges Cystyle />Fanciest Women's 9920 Wedding High Heel 02 Pearls Evening Bridal Red Pump Open Satin Shoes Party Toe rrfOdH name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueKnot Office Floral Hostess Satin Mule Blue Front HZZO6aRq="my message" /> Wedges Cystyle Shoes for Walking Orange Comfort Leather Peep Sandals Heeled Toe Women's Shape Platform Ups Women
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 Women's Wedges Cystyle Walking Orange Toe Heeled Shape Shoes Sandals Women Platform Leather Peep for Comfort Ups Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Pointed Elegante Toe High Women White elashe Pumps On Shoes Slip Heels 10cm Stiletto Court RxIvXAwq
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
Sandals Peep Walking Leather Comfort Women's Ups for Shape Wedges Toe Women Shoes Heeled Cystyle Platform Orange NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionPeep Toe Batticia Platform amp;White High Women's Shoes Dress for Pumps Party Women Heels Slingback EKS Black xqw1tTI5x My App requires access to the photo library