Go to the /ios/ios.json platform Find the following:
"*-Info.plist": {
"parents": {
"NSLocationWhenInUseUsageDescription": [
{
"xml": "<string />",
"count": 1
}
]
}
}
And replace "NSLocationWhenInUseUsageDescription" with "NSLocationAlwaysUsageDescription" This is what the following looks like:
"*-Info.plist": {
"parents": {
"NSLocationAlwaysUsageDescription": [
{
"xml": "<string />",
"count": 1
}
]
}
}
Launch "cordova build ios"
source
share