Braze React Native SDK - v21.0.0
    Preparing search index...

    Function setAdTrackingEnabled

    • This method informs Braze whether ad-tracking has been enabled for this device. Note that the SDK does not automatically collect this data.

      Parameters

      • adTrackingEnabled: boolean

        Whether ad-tracking is enabled.

      • OptionalgoogleAdvertisingId: string

        The Google Advertising ID. (Android only)

      Returns void