Skip to main content
Version: v5

Config file semantics

<?xml version="1.0" encoding="utf-8"?><resources>    <!-- Your App id-->    <string name="incognia_app_id" translatable="false">YOUR_APP_ID</string>
    <!-- Whether SDK logs are enabled -->    <bool name="incognia_log_enabled">true</bool>
    <!-- Whether visits tracking is enabled by default after SDK initialization -->    <bool name="incognia_visits_enabled_by_default">true</bool>
    <!-- Whether the user needs to provide privacy consent -->    <bool name="incognia_privacy_consent_required">false</bool></resources>
Remember to replace YOUR_APP_ID with the identifier of the application you created on your dashboard. Click here if you don't know your App ID or if you don't know what an App ID is.

The complete list of possible customization keys is shown below.

incognia_app_idYour Application ID.stringβœ”
incognia_log_enabledWhether logs are enabled.boolean (true)βœ–
incognia_visits_enabled_by_defaultWhether visit tracking is enabled by default during the SDK initialization.boolean (true)βœ–
incognia_privacy_consent_requiredWhether the user needs to provide privacy consent for the SDK to be initialized.boolean (false)βœ–
incognia_background_wakeup_enabledWhether background wakeup is enabled.boolean (true)βœ–