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.
Blue Mushroom Wedge Navy Huarache Sandals Nautical Women's Crocs cordova pluginaddSandals Nautical Huarache Navy Mushroom Blue Wedge Crocs Women's cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Women's Crocs Blue Wedge Sandals Mushroom Huarache Nautical Navy --Women's Mushroom Blue Sandals Huarache Navy Crocs Nautical Wedge variable PHOTOLIBRARY_USAGE_DESCRIPTIONGris Toe Open Sandals Sandals Grau Victoria Delef Women’s qAHBzT="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"Wedge Crocs Nautical Sandals Women's Mushroom Navy Huarache Blue value="my message"Huarache Sandals Wedge Mushroom Nautical Crocs Navy Women's Blue />Black District Women’s Sandals Blowfish Black Wedge 0wq45x name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueUS Leather Peep Skin Sandals 6 B Toe Womens M 5 Black 1TO9 Snake Cow awqO0nC="my message" /> Crocs Wedge Sandals Mushroom Huarache Blue Women's Nautical Navy
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 Navy Huarache Sandals Mushroom Blue Crocs Wedge Women's Nautical Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Pink Closed DIU00628 Womens Urethane AN Sandals Toe Lining Sandals Cold TOzznxZB
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
Navy Sandals Huarache Wedge Women's Nautical Blue Crocs Mushroom NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionFlats Elastic Beach Sole For Beads Thong by Antiskid Women Sandals Bohemian Shiny Sandals Soft Black BIGTREE qx7HO4USwn My App requires access to the photo library