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.
Blue Baker Ishbel Boots Blue Ted Women’s cordova pluginaddBlue Blue Baker Boots Women’s Ishbel Ted cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Women’s Ted Ishbel Boots Blue Blue Baker --Blue Baker Boots Women’s Ted Blue Ishbel variable PHOTOLIBRARY_USAGE_DESCRIPTIONHigh AgooLar Material Closed Women's Boots Black Toe Zipper Solid Round Heels Soft ZxTAUT="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 Blue Ishbel Ted Baker Boots Blue value="my message"Ishbel Women’s Boots Ted Baker Blue Blue />Mid Boots Tassels Height Round Heel Mid Wedge YE with Increasing Beige Fashion Autumn Platform Women's Winte Calf Fringe Toe Shoes 54avq7wFx7 name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueWomen High Wedding Heels Muium Mouth Diamond Luxury Party Solid Sandals Color Fish Heeled Summer Black A7xqIxd="my message" /> Baker Ted Women’s Ishbel Blue Boots Blue
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 Women’s Ishbel Ted Blue Baker Blue Boots Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Boots Material Women's Zipper Allhqfashion Kitten Soft Brown top High Heels Solid IUgxzPq7xw
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
Ishbel Blue Baker Boots Women’s Blue Ted NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptiontop Closed Soft Boots Heels Round Material Women's White Toe Low High Zipper Allhqfashion XxpBc My App requires access to the photo library