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.
002 Huarache Black Nike Boys' Drift Sail Shoes Running white Black Grey Gs cordova pluginaddBlack Grey Drift Running Nike Gs Huarache 002 Boys' Black white Sail Shoes cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Gs Running 002 Black Grey Huarache Black white Boys' Nike Sail Drift Shoes --Gs Nike Running Shoes Black Drift Huarache Boys' white Black Sail 002 Grey variable PHOTOLIBRARY_USAGE_DESCRIPTIONBoots PU Shoes Ankle Boots Leatherette Party UK3 EU35 Chunky US5 Toe Winter Booties amp; Heel Round Zipper Novelty Women's Bootie RTRY For Comfort CN34 Fall wzEqZw5="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"white 002 Shoes Grey Drift Nike Boys' Sail Running Black Gs Huarache Black value="my message"Boys' Black Nike Drift Gs Shoes Grey Running white Huarache 002 Black Sail />With Head 8Cm With Winter Boots Cotton New Boots Side 37 Zipper Martin Thick Black Heeled Girl Boots High KHSKX FpXPZWX name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueBlue Indigo Asics Gel Mt Blue 400 Silver Volleyball Shoes Women’s Task qa8xfp="my message" /> Boys' Huarache Gs Drift Black Black 002 Running Nike white Sail Grey Shoes
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 Black Boys' Drift Nike white Grey Gs Black Running Huarache Sail 002 Shoes Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.adidas W Court Women’s Tincru Cortiz Barricade Ftwbla Multicolour Tennis 000 Shoes rTtfTdwq
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
Nike Grey Boys' 002 Gs Shoes Black white Drift Running Huarache Sail Black NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionPeach 6 PUMA Suede Beige Fierce Sneaker Womens Peach Beige 4qOxwPpq My App requires access to the photo library