So while working on fixing some problems with one of my mobile apps today, I had no issues uploading my app to iTunes connect with the geolocation plugin selected. I was then able to test the app on my device using TestFlight with no problem as well. When I finally got all the problems solved, I attempted to submit the app for review. The binary was almost instantly rejected for requesting access to use the users location but not supplying a reason (specifically NSLocationAlwaysUsageDescription). Mind you before this happened I never had an issue uploading my app to iTunes connect through the Application Loader, the only error I would get was the one pertaining to not having a 1024x1024 icon file (however this is an ignorable error as you can just upload this icon on the iTunes connect site). After my binary was rejected I could still get my app file to process properly through the Application Loader (still only getting the 1024x1024 error I mentioned before), but when Apple would send me an email stating there were issues (I was getting this every time for the 1024x1024 icon error) there was another error specifically mentions the above NSLocationAlwaysUsageDescription issue. I then went to my config file and added in key/string pairs and even tried other syntax such as edit-config and config-file but none worked. I continued to get the NSLocationAlwaysUsageDescription error. Then after messing with different settings and continuing to try (specifically changing between cli-7.0.1, cli-7.1.0, and cli-8.0.0) I started to get a another error pertaining to get a users location (NSLocationWhenInUseUsageDescription). I couldn't get this to go away now either so I dropped the geolocation plugin (before dropping it I tried some other versions of the plugin other than the default), after dropping the geolocation plugin I was able to get my app to actually upload to iTunes connect again and was able to submit the app for review without issue (at least I haven't received a rejection email yet). The only odd behavior I am seeing is the popup that requests the users location has what looks like a bundles/folder/folder as the popup message. But I can hit allow and it will let me use the location, but I get no access to location on Android. Anyone have any ideas how to fix this? I attempted so many things with the config file, the cli-version, the version on the plugins, and nothing seemed to work.
Right now my workaround is to create the APK for Android with the geolocation plugin included, and then create the IPA without the plugin (and hope it doesn't get flagged by the employee at Apple that reviews the app).
Hopefully someone has some insight!
Right now my workaround is to create the APK for Android with the geolocation plugin included, and then create the IPA without the plugin (and hope it doesn't get flagged by the employee at Apple that reviews the app).
Hopefully someone has some insight!