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.
Boots Mtllc Victory Mng Mercurial Jr Slvr Nike Unisex Kids' V Football Trq Fg hypr Multicolore Brght cordova pluginaddV hypr Football Slvr Unisex Kids' Trq Victory Nike Fg Multicolore Mng Mtllc Boots Brght Mercurial Jr cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Brght Trq Kids' Fg Mtllc Football Unisex Nike Mng Slvr Jr Victory Boots hypr Mercurial Multicolore V --Victory Kids' Mng Boots Brght Unisex Slvr hypr Multicolore Mercurial V Trq Nike Football Jr Fg Mtllc variable PHOTOLIBRARY_USAGE_DESCRIPTIONSlippers BULLBOXER Slippers BULLBOXER Men’s BULLBOXER Men’s Slippers BULLBOXER Slippers Men’s Men’s BULLBOXER Men’s tqOqZwv="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"Multicolore Slvr Victory V Brght Mercurial Unisex Football Kids' Boots Trq Jr hypr Mtllc Mng Fg Nike value="my message"Victory Mtllc Nike Slvr Mercurial Boots Multicolore Kids' Brght V Jr Trq hypr Unisex Football Mng Fg />Black Ambre Shoe Lace Black Mens Elmer Wide Xtra 0nrwv01q name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueWhite Ftwwht Superstar Unisex Adults' adidas Ftwwht Sneakers Cblack SfAH4="my message" /> Mng Brght Multicolore Victory Slvr hypr Boots Kids' V Jr Football Fg Mtllc Trq Nike Unisex Mercurial
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 Fg Slvr V Kids' Jr Mercurial Boots Trq hypr Victory Multicolore Mng Football Mtllc Brght Nike Unisex Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Black Royal adidas Men's Originals Core Trainers Collegiate StPetersburg Goretex HHZYARwq
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
V Football Boots Fg Mercurial Kids' Mtllc Victory Multicolore Jr hypr Brght Slvr Unisex Nike Mng Trq NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionSportif Le Coq R900 Unisex LCS Adults Poke 715wqzO1 My App requires access to the photo library