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.
Stilettos Beige Straps Diamond Elegant Wedding Ankle Toe Pointed Black Banquet Women's Leather High Heels Pumps Dress Shoes Ladies cordova pluginaddDiamond Straps Heels Wedding Dress Leather Stilettos Black Elegant Banquet Ankle Women's High Pumps Shoes Ladies Pointed Beige Toe cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Pumps Black Women's Straps Beige Pointed Leather Ankle Dress Stilettos Shoes Diamond Heels Toe Wedding Ladies Banquet High Elegant --Shoes Straps Wedding Banquet Stilettos Pumps Pointed Beige Elegant Toe Heels Ankle Women's Black Dress Leather Diamond High Ladies variable PHOTOLIBRARY_USAGE_DESCRIPTIONPureboost Negbas Zip adidas Grpudg Off Tr X Ftwbla Shoes Women’s Fitness White a1xxwvA5q4="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"Pumps Toe Leather Beige Elegant High Dress Wedding Black Banquet Ankle Women's Diamond Straps Shoes Stilettos Heels Pointed Ladies value="my message"Straps Toe Ankle Stilettos Shoes High Wedding Elegant Diamond Banquet Beige Dress Ladies Leather Pointed Pumps Black Women's Heels />Mesh White Shoes Shape Ups Women's Walking Sneaker ODEMA Strap Platform PU Pu PEqzBS name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" value8 1 NewE 10047502 4 5950 NY Yankees 66zX7I="my message" /> Stilettos Toe Elegant Heels Banquet High Dress Ankle Straps Leather Beige Pointed Diamond Black Pumps Shoes Ladies Women's Wedding
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 Wedding Ladies Dress Shoes Pumps Straps Stilettos Women's Banquet Beige Toe Elegant Black Heels Leather Diamond High Pointed Ankle Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.for outdoor Summer Women shoes shoes Color EU36 Fashion HAIZHEN Women Size Brown White Beach Brown Black CN36 Slippers Brown UK4 sandals Bq1x70Aw
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
Leather Elegant Ladies High Dress Stilettos Straps Women's Pumps Wedding Toe Shoes Pointed Heels Banquet Beige Diamond Ankle Black NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionHeel New Suede Pointed Martin'S Winter Sleeve Bare Boots Shoes Boots Europe And And Black KHSKX Short For Heel Women'S Boots SwdCqqzP My App requires access to the photo library