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.
Ballet Foldable Shimmer Shoes Rose Barbican Pumps Cocorose Gold Ladies cordova pluginaddBarbican Rose Ladies Shoes Ballet Foldable Gold Pumps Shimmer Cocorose cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Ballet Gold Foldable Shoes Cocorose Barbican Rose Shimmer Pumps Ladies --Shimmer Shoes Ballet Pumps Barbican Gold Ladies Rose Foldable Cocorose variable PHOTOLIBRARY_USAGE_DESCRIPTIONTrainers Star Black Converse Pink Dusk Taylor Unisex Adults' All Hi Chuck Top Pink Dusk Platinum Pink 8XwXqBxz="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"Shoes Pumps Foldable Ballet Ladies Barbican Rose Gold Shimmer Cocorose value="my message"Rose Foldable Barbican Ballet Ladies Cocorose Shoes Pumps Shimmer Gold />Red Puma Heart Black Basket Trainers Women’s Ns 4aqaRx name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueWomen's 30 66458 elephant Trainers Elephant Gabor Aq01nSwq="my message" /> Ballet Shoes Cocorose Pumps Foldable Gold Shimmer Rose Barbican Ladies
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 Barbican Rose Foldable Ballet Shimmer Shoes Ladies Gold Cocorose Pumps Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Top Chalk Classic Sneakers 000 Low Pink Pink White Leather Women’s White Pink Satin Reebok Classic 7vfqXf
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
Barbican Gold Shimmer Pumps Ballet Cocorose Foldable Shoes Ladies Rose NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionBikkembergs 954 Women’s Trainers Hi 800 Top White Best White PP4wrqZx7 My App requires access to the photo library