From 8e69c0fbdf3ed12dbd4622b77df09dfd9014b4f4 Mon Sep 17 00:00:00 2001 From: Shofiya <86974918+Shofiya2003@users.noreply.github.com> Date: Thu, 5 Mar 2026 18:45:05 +0530 Subject: [PATCH] docs: update attribution data structure in React Native SDK documentation Refactor the `campaign_data` object to use camelCase naming conventions for properties, enhancing consistency and readability. Update the documentation to reflect these changes. --- sdk/react-native.mdx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/sdk/react-native.mdx b/sdk/react-native.mdx index ebe32b1..1a1510b 100644 --- a/sdk/react-native.mdx +++ b/sdk/react-native.mdx @@ -154,18 +154,17 @@ The `getAttributionData` function returns: ```typescript { deeplink: string | null; - campaign_data: { + campaignData: { id: string; name: string; type: string; // "ORGANIC" | "INORGANIC" - ad_network: string | null; // "META" | "GOOGLE" | null - installed_at: string; - store_click_at: string | null; - group_name: string; - asset_name: string; - asset_group_name: string; + adNetwork: string | null; // "META" | "GOOGLE" | null + installedAt: string; + storeClickAt: string | null; + groupName: string; + assetName: string; + assetGroupName: string; } - attribution_source: string; } ```