From the AXA console app - We are not tracking location and is disabled from the console.
While app launch, it is still requesting a location permission through system dialog.
The AXA policy setting controls whether the SDK uses location data (when disabled, location tracking is off). It does not control the system’s location permission popup.
Below are the options to avoid the popup:
Option 1 – Disable SDK permission prompts via manifest
In the app’s AndroidManifest.xml, under the <application> tag, add:
<meta-data android:name="AXAAskPermission" android:value="false" />
This stops the SDK from requesting location (and phone state) permissions.
Option 2 – Do not declare location permission in the app’s manifest
If the app does not include:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
The system will not show the location permission dialogue. The SDK does not add this permission itself, so omitting it in the app’s manifest avoids the pop-up.