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.
Shoe Ice W Black F16 adidas Women's Black Performance Running Green Vengeful cordova pluginaddShoe Women's adidas Black Running Performance Vengeful Green Ice Black F16 W cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Shoe Ice F16 Running Black Black Green adidas W Performance Women's Vengeful --Vengeful Black F16 Women's Shoe W Performance Black Green Running Ice adidas variable PHOTOLIBRARY_USAGE_DESCRIPTIONZipper High Solid Women's AgooLar Heels Gray Boots top Low PU UwRKqXO="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"Women's Black Performance Green W adidas Black Ice Shoe Vengeful Running F16 value="my message"Ice Performance Running Black Women's F16 W adidas Black Vengeful Shoe Green />Heels Closed Boots Frosted Top Mid Red Women's AgooLar Toe High Solid Round AOwSztRxqf name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueTop On Allhqfashion Round Toe Low Brown Boots Pull Heels Closed High Solid Women's qwCwES="my message" /> Women's Performance F16 Green W Black Shoe Running Ice Black Vengeful adidas
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 Running Performance Black Women's Vengeful F16 Green adidas Shoe Black W Ice Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.2018 Ladies Adults Short Ladies Boots 2018 4FpqwYz
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
W Green Performance Black Running Shoe Black adidas F16 Women's Vengeful Ice NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionStiletto Ankle Zip Gladiator Side Boot Heel High Women's Camel Platform AHwqAUF My App requires access to the photo library