---
updatedAt: 2025-11-11T02:46:51.000Z
agentTools:
  projectIndex: https://docs.webengage.com/llms.txt
---

# Advanced

## Other configurations

All configurations go under the `config.xml` file in the root directory of your project.

## Location tracking

### Android

If you want to track your users' location, add the below snippet in your `config.xml` file.

```xml
<widget ... >
    ...
    <!-- For Android -->
    <platform name="android">
        <config-file parent="/manifest/application" target="AndroidManifest.xml">
            ...
            <meta-data android:name="com.webengage.sdk.android.location_tracking" android:value="true" />
        </config-file>
        <config-file parent="/manifest" target="AndroidManifest.xml">
            ...
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        </config-file>
    </platform>

</widget>
```

### iOS

If you want to track your users' location, add the below snippet in your `config.xml` file.

```xml
<widget ... >
    ...

    <!-- For iOS -->
    <platform name="ios">
        ...
        <config-file parent="UIBackgroundModes" target="*Info.plist">
            <array>
                <string>location</string>
            </array>
        </config-file>
    </platform>

</widget>
```

### **Upgrade plugin from 1.0.0 to 1.0.1**

If you are using [Integration through Cocoapods](https://docs.webengage.com/docs/cordova#installation-via-cocoapods) and if you face the below error

![2270](https://files.readme.io/f9fd946-Screenshot_2021-06-03_at_9.35.29_PM.png "Screenshot 2021-06-03 at 9.35.29 PM.png")

Remove "WebEngage.framework" from the Embedded frameworks list.

![2402](https://files.readme.io/6315938-Screenshot_2021-06-03_at_9.44.15_PM.png "Screenshot 2021-06-03 at 9.44.15 PM.png")