Ios asking for location info strings but I'm not using location

When submitting the app to itunes connect I get an email telling me to fill NSLocationWhenInUseUsageDescription and the background one too.

I don’t ask for location at any point, so it must be a plugin I’m using:
This are the plugins I’m using.

   <plugin name="cordova-plugin-whitelist" spec="~1.3.3" />
    <plugin name="cordova-plugin-statusbar" spec="~2.4.2" />
    <plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />
    <plugin name="cordova-plugin-ionic-webview" spec="^3.0.0" />
    <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
    <plugin name="onesignal-cordova-plugin" spec="~2.4.6" />
    <plugin name="cordova-plugin-advanced-http" spec="~2.0.5" />
    <plugin name="cordova-plugin-file" spec="~6.0.1" />
    <plugin name="cordova-plugin-device" spec="~2.0.2" />
    <plugin name="cordova-plugin-screen-orientation" spec="~3.0.1" />
    <plugin name="cordova-plugin-dialogs" spec="~2.0.1" />

Which one could it be and how can I fix it?

Did you ever have any GPS plugins installed?

My only thought is does onesignal use it??

Those are the only plugins installed and I haven’t had any previous one installed before those. I also thought about onesignal, but in their documentation they talk about the notification permission, how they provide a default text warning and how you can add a tailored one, so I don’t think they’d use the gps without the same options or saying so in the documentation.

The main issue is that I don’t even know what to write there since I’m not using them so…

When you open the project on Xcode, goto Project -> Resources -> your-project-name.info.plist file. Just check is there a key ‘NSLocationWhenInUseUsageDescription’, if so, then you need to remove it and test the app. Having a key without description would cause this issue.