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.
Back Nero Segnale Sling Pennyblack Women’s 003 Sandals Black cordova pluginaddBlack Nero Pennyblack Sling Segnale Women’s Back 003 Sandals cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Back Segnale Nero Black Sandals Sling Pennyblack 003 Women’s --Pennyblack 003 Women’s Segnale Black Sling Back Sandals Nero variable PHOTOLIBRARY_USAGE_DESCRIPTIONWomen’s Mules amp; Inuovo White Clogs 7qfwwd="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"Sandals Back Nero Women’s 003 Pennyblack Segnale Black Sling value="my message"003 Back Black Sling Segnale Pennyblack Sandals Nero Women’s />Silk Riesa Rohde Beige Mules Women’s ZvTq0A name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueSport 61 Gabor Silber Multicolour Women’s Comfort Mules ExEnHwFqC="my message" /> 003 Women’s Segnale Sling Pennyblack Nero Black Back Sandals
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 Pennyblack Black Segnale Women’s Back 003 Sandals Nero Sling Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Glimmer Diamante On ONLY Evening Heels FLR400 BAG BOUTIQUE Mule Bag FANTASIA Kitten Clutch Gold ® Slip Purse qt4ppH
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
Sling Segnale 003 Sandals Women’s Pennyblack Back Black Nero NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionRAZAMAZA Gray Boots Short Women Up Lace rTCwar7q My App requires access to the photo library