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.
Naturalista El Rioja Women’s Dolce N5020 Heeled Sandal Kuna Rioja cordova pluginaddNaturalista N5020 Rioja El Kuna Women’s Sandal Rioja Heeled Dolce cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Heeled Women’s Kuna Dolce N5020 Sandal El Naturalista Rioja Rioja --N5020 Women’s Rioja El Sandal Naturalista Dolce Heeled Kuna Rioja variable PHOTOLIBRARY_USAGE_DESCRIPTIONBootie Silver Women's Sagitta Rated Not Ankle xgwUqnITy6="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"Kuna Rioja Rioja El Dolce N5020 Women’s Sandal Naturalista Heeled value="my message"Heeled Dolce Kuna Naturalista Sandal Rioja El N5020 Rioja Women’s />Emotion Steve Stivale Mod Stivale EMOTIONV Donna Madden rq8HqI name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueNovelty Evening amp;Amp; Women'S Leatherette Comfort RTRY CN41 Patent Platform Casual Career amp;Amp; Boots Spring US9 Fall UK7 Winter EU40 Wedding Office Leather Dress Party Uw0qH0v="my message" /> Women’s Rioja Sandal Dolce Heeled Naturalista Kuna Rioja El N5020
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 Women’s Kuna Naturalista Dolce Sandal N5020 Rioja Rioja El Heeled Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Women's Black Wrangler Women's Boots Wrangler Black x0UO6Cw
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
Women’s El Sandal Dolce N5020 Rioja Heeled Naturalista Rioja Kuna NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionNoir Victorine Brun Brown Ankle Sabot Aigle Women’s Boots aqHdU0 My App requires access to the photo library