iOS location permissions blank

Recently, our binary build in the app store just stopped offering location services. When we take a look at the System Preferences, location doesn’t have any entry. We would expect to see “Never”, “Always”, or “While App Running”…or something like that.

Has anyone come across this issue?

cordova-plugin-geolocation 4.0.2 "Geolocation"

Ionic:

   Ionic CLI          : 5.4.16 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

   cordova-res : 0.15.1
   native-run  : 1.0.0

System:

   Android SDK Tools : 26.1.1 (/Users/***/Library/Android/sdk)
   ios-sim           : 8.0.2
   NodeJS            : v10.22.0 (/usr/local/bin/node)
   npm               : 6.14.6
   OS                : macOS Catalina
   Xcode             : Xcode 11.5 Build version 11E608c

Dear Future Heezo,

I know that you have made this mistake in the past, and you’ve just made this mistake again. Please allow me to remind you how you fixed it.

First, when you submitted the app, the app finished processing with errors. Those errors came from Apple. Don’t look at the website (iTunes Connect), because the errors are not going to be there.

Second, you probably forgot to add description strings to *-Info.plist. Remember this?

    <edit-config file="*-Info.plist" mode="merge" target="NSLocationAlwaysAndWhenInUseUsageDescription">
      <string>Oh hai.</string>
    </edit-config>
    <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
      <string>Cool cool cool.</string>
    </edit-config>
    <edit-config file="*-Info.plist" mode="merge" target="NSLocationAlwaysUsageDescription">
      <string>Shark farts.</string>
    </edit-config>

I know, right? Anyway, I hope that helps.

Take naps. Wear a mask. Spend time with the fam.

Best,
Past Heezo.

1 Like