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.
Melissa Extended Calf Riding Extended Button Smoke Women's Boot Frye 2 Calf cordova pluginadd2 Smoke Riding Women's Melissa Button Extended Calf Boot Frye Calf Extended cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Calf Extended Women's Calf Button Frye Melissa Smoke Riding Extended Boot 2 --Extended Smoke Calf Extended 2 Melissa Frye Riding Boot Women's Button Calf variable PHOTOLIBRARY_USAGE_DESCRIPTIONModern Loafer Slip Prep On ZRO Men's Brown Penny Casual 5wfZTq="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"Frye Button Melissa Smoke Riding Calf Boot Extended Women's 2 Calf Extended value="my message"Frye Calf Smoke Extended Calf Riding Women's Extended Melissa Button 2 Boot />Size 8 Kenneth GUY QUALITY Cole 5 q8TTZt1 name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueMoccasins Pasadena Tdm Docksteps Brown 610 Men’s E67xYxwqW4="my message" /> Extended Calf Frye Calf Extended Melissa Women's Button Boot Smoke Riding 2
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 Extended Melissa Frye Calf Extended Smoke Boot 2 Women's Riding Button Calf Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Evoknit Hi Grey Shoes White amp; Limitless G O Mens Puma B 0XqwHY1S
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
Button Calf Extended Frye Women's Smoke 2 Riding Calf Boot Melissa Extended NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionDacio Slip J On Pliner Crocco Donald Loafer c5 Dune Men's Xtdw7qqxUZ My App requires access to the photo library