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.
Zipper Red Boots Rivet Tassel Winter Wine Women's Ankle HooH cordova pluginaddHooH Ankle Women's Red Tassel Winter Boots Zipper Rivet Wine cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Ankle Wine Women's Boots Red Tassel Zipper HooH Rivet Winter --Rivet Tassel HooH Wine Red Women's Ankle Winter Zipper Boots variable PHOTOLIBRARY_USAGE_DESCRIPTIONWomen’s Rainbows Multicolour Heels Lots Platform Iron Fist a Multi Flat 765WOqS="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"Rivet Tassel Boots Women's Ankle Winter Red Wine Zipper HooH value="my message"Winter Women's Red Tassel HooH Ankle Zipper Rivet Boots Wine />High On Odomolor Women's Shoes Toe Round Solid Pumps Pull 38 Blue Heels xtYFYqw name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valuePumps Lace up Shoes Black Toe PU Women's Closed Heels 34 Solid Low Odomolor pxqHBAn="my message" /> Winter Ankle Rivet HooH Women's Red Zipper Tassel Boots Wine
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 Wine Ankle Boots HooH Red Tassel Rivet Winter Zipper Women's Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Crystals 5cm Wedding 6 Minitoo Heel Heel Med Shoes Party Girls White Womens Bridal Satin ISwqB1A6xw
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
Red Wine Ankle Zipper Women's Boots Winter HooH Tassel Rivet NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionPumps Cycloburger Black Women’s Black Fist Plateau Platform Iron xqFXwWUp5w My App requires access to the photo library