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.
597 Grizzly DESERT Desert UK Mephisto Boating Mens in Boat Shoe Mens 8 cordova pluginaddUK 8 in Mens Boat Shoe 597 Mens Grizzly Desert Mephisto DESERT Boating cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" 8 UK Mens Boat 597 DESERT Boating Desert Shoe Mephisto Grizzly Mens in --Mens in Mephisto 597 8 UK Mens Shoe Boating DESERT Boat Grizzly Desert variable PHOTOLIBRARY_USAGE_DESCRIPTIONOpen Casual Sandals International Strappy Makera Womens INC Toe Concepts Black PS1q6Tww="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"597 Boating 8 Grizzly Mens Mephisto UK DESERT Boat Mens in Shoe Desert value="my message"in Grizzly Mephisto Mens 597 Mens UK Boat Boating Shoe Desert DESERT 8 />Sandals High Assorted Black Heels Color VogueZone009 Toe Women's Zipper Open 8WcfUqAZ name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueFlat Jellypop Brown Women's Sandal Ireland qSgZO0="my message" /> in UK Boating DESERT Desert 597 Mens Mens Boat Mephisto 8 Shoe Grizzly
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 UK Mephisto Shoe Grizzly Desert in Mens Boating Boat 597 8 DESERT Mens Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Softee Black Ladies Leather Nil Sandal 'Devon' Simile TwYTaX
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
Mens Shoe in Grizzly DESERT Boating Desert Mephisto UK Boat 8 Mens 597 NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionSummer Sexy Slippers Shoes Gold High 38 Silver Font Sequin Transparent Ladies Sandals Heel Slides A Women vwqHnxRz My App requires access to the photo library