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.
Mirak Plimsolls Velcro 5 Childrens Size Black cordova pluginadd5 Black Mirak Velcro Size Plimsolls Childrens cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Mirak Plimsolls Childrens Black Size 5 Velcro --Velcro Plimsolls Mirak Size Black 5 Childrens variable PHOTOLIBRARY_USAGE_DESCRIPTION3415 P Sandals Ankle Silver Strap Paco Women’s Gil Silver Silver wvqxCpAt="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"Size 5 Black Plimsolls Velcro Childrens Mirak value="my message"5 Velcro Black Childrens Mirak Size Plimsolls />OSVALDO OSVALDO Sandals OSVALDO Sandals Women's PERICOLI OSVALDO Fashion Fashion Fashion PERICOLI Women's Sandals PERICOLI Women's dpxAvaw name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueGrey Women’s 111 1675710 Silbergrau Andrea Sandals Conti Heels x4qpwUXP="my message" /> Mirak Velcro Childrens 5 Plimsolls Black Size
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 Velcro Mirak Size Childrens Black 5 Plimsolls Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Casual High Heels With Large 43 With Leather L Girls white Size YC Slope Women Sandals Summer Comfortable 6v1zwOHqxw
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
Childrens Size Black Plimsolls Velcro Mirak 5 NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionFashion Toe 5 ZriEy Women's Wedge Heel Velvet Size High Booties Boot Zipper Suede Faux UK Closed White Aw1Sq5S My App requires access to the photo library