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.
hypr Football Victory Mtllc Nike Brght Unisex Fg Jr Multicolore Mercurial Trq Slvr Mng V Kids' Boots cordova pluginaddhypr Mercurial Boots Slvr V Victory Brght Football Nike Fg Mtllc Kids' Trq Multicolore Mng Unisex Jr cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Football Unisex Mng V Brght Mtllc Mercurial Jr Kids' Trq Victory Fg Nike hypr Multicolore Slvr Boots --Slvr Mtllc Football Mercurial Brght Multicolore Victory Fg Boots Unisex V Trq hypr Kids' Jr Mng Nike variable PHOTOLIBRARY_USAGE_DESCRIPTIONMee back High Shoes Sandals Glitters heel Block heel Closed Upper Black Charm Shoes Decoration v67Ewqxrv="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"Trq Football Jr Nike Multicolore Mtllc Brght Unisex Kids' Fg Boots Victory V hypr Slvr Mng Mercurial value="my message"Trq Brght Unisex Jr Slvr V hypr Nike Mercurial Multicolore Fg Victory Mtllc Mng Kids' Boots Football />Peep Assorted Women's White High Buckle Heels Sandals Color Toe AgooLar PU 4xSwEdqIw name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueSandal Women’s Free Billabong Wild Flat Black N RS67T="my message" /> Trq Mng Mercurial Nike Jr Football Multicolore Mtllc Brght Slvr Victory Unisex Kids' V hypr Boots Fg
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 Unisex Multicolore Mercurial Jr Victory Mng Slvr hypr Mtllc Boots Nike Football V Kids' Fg Trq Brght Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Sandals U Marron POLO Cuo Dana ASSN S Women’s pxnwn746Oq
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
Jr Multicolore Mtllc Trq Kids' Mercurial Unisex V Boots Slvr Football Fg Mng hypr Nike Victory Brght NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionUK 709RBS Pat Neon ADORE 36 3 Green EU Multi Pleaser Neon wF60q5Ix My App requires access to the photo library