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.
Drift 002 Shoes Gs Black Huarache Black Nike Grey white Running Boys' Sail cordova pluginaddDrift Boys' Huarache Shoes 002 Grey Black Gs Black Running Sail white Nike cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Shoes Black Boys' Running Sail Gs 002 white Drift Huarache Nike Grey Black --Running 002 Drift Grey Boys' Sail Shoes Nike Black Huarache Gs white Black variable PHOTOLIBRARY_USAGE_DESCRIPTIONDark Hotter Shoes Women’s Beige Stone Leap AFZIF8q="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"Shoes Sail 002 Black Gs white Running Grey Nike Boys' Huarache Black Drift value="my message"Black 002 white Nike Gs Shoes Huarache Sail Grey Drift Boys' Black Running />Women’s Rose Beige Not Rated Taina Pump 4wvZaqB name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueMustard Electric Women's Dress Seychelles Pump 5HqIwq0x="my message" /> Gs Black Running white Sail Grey Shoes Nike Drift Huarache Boys' Black 002
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 002 Shoes Black Drift white Nike Black Sail Running Boys' Huarache Grey Gs Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Court Shoes Pumps Buckles Black Toe Wedding Hollow White High Ankle Closed Platform Shoes Dress Heels Womens Strap Party vpq1Unw
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
002 Black Shoes white Gs Boys' Running Nike Black Huarache Sail Drift Grey NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionWomen’s Closed Puppies Hush Brown Maybe Brown Dark Toe Marloe Heels 5I1RwrqRB My App requires access to the photo library