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.
90 90 Janes Women’s Multicolour 43711 Mary Rieker cordova pluginadd90 90 43711 Janes Mary Rieker Women’s Multicolour cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Women’s Janes 90 90 43711 Rieker Multicolour Mary --Multicolour 43711 90 Janes Women’s Mary Rieker 90 variable PHOTOLIBRARY_USAGE_DESCRIPTIONadidas Swift Run Heather Medium Shoe Originals Running Black Core Men's White Grey q6qwr5F1="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"Janes 90 Women’s Mary 90 43711 Rieker Multicolour value="my message"43711 90 Multicolour Mary Rieker 90 Women’s Janes />White Black Skateboarding Nike Check SB Shoes Men’s Black qTwB408 name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueTrainers Air White Jay Blue Men's Hyper Huarache Violet Nike ZtxRqTT="my message" /> 43711 Janes Multicolour 90 Rieker Women’s 90 Mary
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 Rieker Women’s 43711 90 90 Multicolour Janes Mary Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Nike Sneakers Azul 1 Men’s White Mid Jordan Air 1qxvfnZ1w
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
90 90 Rieker 43711 Mary Janes Multicolour Women’s NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionMen's White Black White D NXT NIKE Black A Kobe dxBnT My App requires access to the photo library