How to fix missing purpose string in Info.plist?


#1

Hello! I just uploaded an app to the App Store Connect and received an e-mail:

Missing Purpose String in Info.plist File. Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.

I guess the warning comes from using Fuse.Maps, but how can I add the string to the Info.plist?


#2

To the .unoproj I added:

"iOS": {
    "PList": {
			"NSLocationAlwaysUsageDescription": "Location is used to display user's location on a map"
		}
}

So I guess that fixed it.