From c870125bc507fa05daf6ef2bc9d7d8e272a6c8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Fri, 23 Feb 2024 18:42:50 +0100 Subject: [PATCH] Update React Native documentation --- .../Adjust/addSessionCallbackParameter.mdx | 3 - .../Adjust/addSessionPartnerParameter.mdx | 3 - .../Adjust/appTrackingAuthorizationStatus.mdx | 3 - .../examples/Adjust/checkForNewAttStatus.mdx | 3 - .../Adjust/disableThirdPartySharing.mdx | 3 - .../examples/Adjust/gdprForgetMe.mdx | 3 - .../react-native/examples/Adjust/getAdid.mdx | 5 - .../examples/Adjust/getAmazonAdId.mdx | 5 - .../examples/Adjust/getAttribution.mdx | 12 - .../examples/Adjust/getGoogleAdId.mdx | 5 - .../react-native/examples/Adjust/getIdfa.mdx | 5 - .../examples/Adjust/isEnabled.mdx | 3 - .../Adjust/removeSessionCallbackParameter.mdx | 3 - .../Adjust/removeSessionPartnerParameter.mdx | 3 - .../Adjust/requestTrackingAuthorization.mdx | 18 - .../Adjust/resetSessionCallbackParameters.mdx | 3 - .../Adjust/resetSessionPartnerParameters.mdx | 3 - .../examples/Adjust/sendFirstPackages.mdx | 3 - .../examples/Adjust/setEnabled.mdx | 3 - .../examples/Adjust/setOfflineMode.mdx | 3 - .../examples/Adjust/setPushToken.mdx | 3 - .../examples/Adjust/trackAdRevenue.mdx | 5 - .../Adjust/trackAppStoreSubscription.mdx | 12 - .../examples/Adjust/trackEvent.mdx | 4 - .../Adjust/trackMeasurementConsent.mdx | 3 - .../Adjust/trackPlayStoreSubscription.mdx | 13 - .../Adjust/trackThirdPartySharing.mdx | 4 - .../examples/Adjust/updateConversionValue.mdx | 3 - .../AdjustAdRevenue/addCallbackParameter.mdx | 7 - .../AdjustAdRevenue/addPartnerParameter.mdx | 7 - .../examples/AdjustAdRevenue/constructor.mdx | 4 - .../AdjustAdRevenue/setAdImpressionsCount.mdx | 7 - .../AdjustAdRevenue/setAdRevenueNetwork.mdx | 7 - .../AdjustAdRevenue/setAdRevenuePlacement.mdx | 7 - .../AdjustAdRevenue/setAdRevenueUnit.mdx | 7 - .../examples/AdjustAdRevenue/setRevenue.mdx | 7 - .../addCallbackParameter.mdx | 15 - .../addPartnerParameter.mdx | 15 - .../adjustAppStoreSubscription.mdx | 11 - .../setSalesRegion.mdx | 13 - .../setTransactionDate.mdx | 13 - .../examples/AdjustConfig/constructor.mdx | 8 - .../deactivateSKAdNetworkHandling.mdx | 10 - .../AdjustConfig/sendInBackground.mdx | 7 - .../setAttributionCallbackListener.mdx | 22 - ...ConversionValueUpdatedCallbackListener.mdx | 12 - .../AdjustConfig/setCoppaCompliantEnabled.mdx | 9 - .../AdjustConfig/setDefaultTracker.mdx | 10 - .../setDeferredDeeplinkCallbackListener.mdx | 12 - .../examples/AdjustConfig/setDelayStart.mdx | 10 - .../AdjustConfig/setEventBufferingEnabled.mdx | 10 - ...setEventTrackingFailedCallbackListener.mdx | 20 - ...EventTrackingSucceededCallbackListener.mdx | 19 - .../AdjustConfig/setExternalDeviceId.mdx | 10 - .../setLaunchDeferredDeeplink.mdx | 10 - .../AdjustConfig/setLinkMeEnabled.mdx | 10 - .../examples/AdjustConfig/setLogLevel.mdx | 10 - .../examples/AdjustConfig/setNeedsCost.mdx | 8 - .../setPlayStoreKidsAppEnabled.mdx | 10 - .../AdjustConfig/setPreinstallFilePath.mdx | 10 - .../setPreinstallTrackingEnabled.mdx | 10 - ...tSessionTrackingFailedCallbackListener.mdx | 20 - ...ssionTrackingSucceededCallbackListener.mdx | 19 - .../AdjustConfig/setShouldLaunchDeeplink.mdx | 10 - .../examples/AdjustConfig/setUrlStrategy.mdx | 8 - .../AdjustEvent/addCallbackParameter.mdx | 7 - .../AdjustEvent/addPartnerParameter.mdx | 7 - .../examples/AdjustEvent/constructor.mdx | 5 - .../examples/AdjustEvent/setCallbackId.mdx | 7 - .../examples/AdjustEvent/setRevenue.mdx | 7 - .../examples/AdjustEvent/setTransactionId.mdx | 7 - .../addCallbackParameter.mdx | 13 - .../addPartnerParameter.mdx | 13 - .../adjustPlayStoreSubscription.mdx | 10 - .../setPurchaseTime.mdx | 11 - .../addGranularOption.mdx | 7 - .../addGranularOptionFacebook.mdx | 16 - .../addPartnerSharingSetting.mdx | 6 - .../AdjustThirdPartySharing/initFalse.mdx | 5 - .../AdjustThirdPartySharing/initTrue.mdx | 5 - .../Adjust/addSessionCallbackParameter.mdx | 3 - .../Adjust/addSessionPartnerParameter.mdx | 3 - .../Adjust/appTrackingAuthorizationStatus.mdx | 3 - .../Adjust/checkForNewAttStatus.mdx | 3 - .../Adjust/disableThirdPartySharing.mdx | 3 - .../signatures/Adjust/gdprForgetMe.mdx | 3 - .../signatures/Adjust/getAdid.mdx | 3 - .../signatures/Adjust/getAmazonAdId.mdx | 3 - .../signatures/Adjust/getAttribution.mdx | 3 - .../signatures/Adjust/getGoogleAdId.mdx | 3 - .../signatures/Adjust/getIdfa.mdx | 3 - .../signatures/Adjust/isEnabled.mdx | 3 - .../Adjust/removeSessionCallbackParameter.mdx | 3 - .../Adjust/removeSessionPartnerParameter.mdx | 3 - .../Adjust/requestTrackingAuthorization.mdx | 3 - .../Adjust/resetSessionCallbackParameters.mdx | 3 - .../Adjust/resetSessionPartnerParameters.mdx | 3 - .../signatures/Adjust/sendFirstPackages.mdx | 3 - .../signatures/Adjust/setEnabled.mdx | 3 - .../signatures/Adjust/setOfflineMode.mdx | 3 - .../signatures/Adjust/setPushToken.mdx | 3 - .../signatures/Adjust/trackAdRevenue.mdx | 3 - .../Adjust/trackAppStoreSubscription.mdx | 3 - .../signatures/Adjust/trackEvent.mdx | 3 - .../Adjust/trackMeasurementConsent.mdx | 3 - .../Adjust/trackPlayStoreSubscription.mdx | 3 - .../Adjust/trackThirdPartySharing.mdx | 3 - .../Adjust/updateConversionValue.mdx | 3 - .../AdjustAdRevenue/addCallbackParameter.mdx | 3 - .../AdjustAdRevenue/addPartnerParameter.mdx | 3 - .../AdjustAdRevenue/constructor.mdx | 3 - .../AdjustAdRevenue/setAdImpressionsCount.mdx | 3 - .../AdjustAdRevenue/setAdRevenueNetwork.mdx | 3 - .../AdjustAdRevenue/setAdRevenuePlacement.mdx | 3 - .../AdjustAdRevenue/setAdRevenueUnit.mdx | 3 - .../signatures/AdjustAdRevenue/setRevenue.mdx | 3 - .../addCallbackParameter.mdx | 3 - .../addPartnerParameter.mdx | 3 - .../constructor.mdx | 3 - .../setSalesRegion.mdx | 3 - .../setTransactionDate.mdx | 3 - .../signatures/AdjustConfig/constructor.mdx | 3 - .../deactivateSKAdNetworkHandling.mdx | 3 - .../AdjustConfig/sendInBackground.mdx | 3 - .../setAttributionCallbackListener.mdx | 5 - ...ConversionValueUpdatedCallbackListener.mdx | 5 - .../AdjustConfig/setCoppaCompliantEnabled.mdx | 3 - .../AdjustConfig/setDefaultTracker.mdx | 3 - .../setDeferredDeeplinkCallbackListener.mdx | 5 - .../signatures/AdjustConfig/setDelayStart.mdx | 3 - .../AdjustConfig/setEventBufferingEnabled.mdx | 3 - ...setEventTrackingFailedCallbackListener.mdx | 5 - ...EventTrackingSucceededCallbackListener.mdx | 5 - .../AdjustConfig/setExternalDeviceId.mdx | 3 - .../AdjustConfig/setLinkMeEnabled.mdx | 3 - .../signatures/AdjustConfig/setLogLevel.mdx | 3 - .../signatures/AdjustConfig/setNeedsCost.mdx | 3 - .../setPlayStoreKidsAppEnabled.mdx | 3 - .../AdjustConfig/setPreinstallFilePath.mdx | 3 - .../setPreinstallTrackingEnabled.mdx | 3 - ...tSessionTrackingFailedCallbackListener.mdx | 5 - ...ssionTrackingSucceededCallbackListener.mdx | 5 - .../AdjustConfig/setShouldLaunchDeeplink.mdx | 3 - .../AdjustConfig/setUrlStrategy.mdx | 3 - .../AdjustEvent/addCallbackParameter.mdx | 3 - .../AdjustEvent/addPartnerParameter.mdx | 3 - .../signatures/AdjustEvent/constructor.mdx | 3 - .../signatures/AdjustEvent/setCallbackId.mdx | 3 - .../signatures/AdjustEvent/setProductId.mdx | 3 - .../AdjustEvent/setPurchaseToken.mdx | 3 - .../signatures/AdjustEvent/setReceipt.mdx | 3 - .../signatures/AdjustEvent/setRevenue.mdx | 3 - .../AdjustEvent/setTransactionId.mdx | 3 - .../addCallbackParameter.mdx | 3 - .../addPartnerParameter.mdx | 3 - .../constructor.mdx | 9 - .../setPurchaseTime.mdx | 3 - .../addGranularOption.mdx | 3 - .../addPartnerSharingSetting.mdx | 3 - .../AdjustThirdPartySharing/constructor.mdx | 3 - .../docs/sdk/android/setup/preinstalled.mdx | 2 +- .../sdk/flutter/features/preinstalled.mdx | 2 +- .../docs/sdk/react-native/configuration.mdx | 292 +++++++++ .../react-native/configuration/background.mdx | 20 - .../react-native/configuration/deep-links.mdx | 83 --- .../sdk/react-native/configuration/delay.mdx | 30 - .../react-native/configuration/disable.mdx | 57 -- .../configuration/external-device-id.mdx | 40 -- .../sdk/react-native/configuration/index.mdx | 9 - .../react-native/configuration/log-level.mdx | 43 -- .../configuration/preinstalled.mdx | 30 - .../react-native/configuration/privacy.mdx | 205 ------- .../configuration/push-tokens.mdx | 22 - .../sdk/react-native/features/ad-revenue.mdx | 159 +++-- .../{configuration => features}/att.mdx | 56 +- .../sdk/react-native/features/attribution.mdx | 89 ++- .../sdk/react-native/features/callbacks.mdx | 117 +++- .../sdk/react-native/features/device-info.mdx | 57 +- .../docs/sdk/react-native/features/events.mdx | 165 ++++- .../docs/sdk/react-native/features/index.mdx | 1 + .../react-native/features/preinstalled.mdx | 49 ++ .../sdk/react-native/features/privacy.mdx | 314 ++++++++++ .../features/session-parameters.mdx | 102 +++- .../{configuration => features}/skad.mdx | 57 +- .../react-native/features/subscriptions.mdx | 217 ++++++- .../docs/sdk/react-native/plugins/index.mdx | 1 + .../docs/sdk/react-native/plugins/oaid.mdx | 9 +- .../react-native/reference/adjust/config.mdx | 157 ----- .../reference/adjust/device-info.mdx | 134 ---- .../react-native/reference/adjust/index.mdx | 9 - .../react-native/reference/adjust/privacy.mdx | 116 ---- .../reference/adjust/recording.mdx | 330 ---------- .../reference/adjust/skan-att.mdx | 122 ---- .../reference/adjustadrevenue.mdx | 269 -------- .../reference/adjustappstoresubscription.mdx | 170 ------ .../reference/adjustattribution.mdx | 44 -- .../reference/adjustconfig/index.mdx | 54 -- .../reference/adjustconfig/privacy.mdx | 79 --- .../reference/adjustconfig/setup.mdx | 574 ------------------ .../react-native/reference/adjustevent.mdx | 196 ------ .../reference/adjustplaystoresubscription.mdx | 145 ----- .../reference/adjustthirdpartysharing.mdx | 139 ----- .../docs/sdk/react-native/reference/index.mdx | 7 - 203 files changed, 1490 insertions(+), 4212 deletions(-) delete mode 100644 src/code-snippets/react-native/examples/Adjust/addSessionCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/addSessionPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/appTrackingAuthorizationStatus.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/checkForNewAttStatus.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/disableThirdPartySharing.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/gdprForgetMe.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/getAdid.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/getAmazonAdId.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/getAttribution.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/getGoogleAdId.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/getIdfa.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/isEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/removeSessionCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/removeSessionPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/requestTrackingAuthorization.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/resetSessionCallbackParameters.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/resetSessionPartnerParameters.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/sendFirstPackages.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/setEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/setOfflineMode.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/setPushToken.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/trackAdRevenue.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/trackAppStoreSubscription.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/trackEvent.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/trackMeasurementConsent.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/trackPlayStoreSubscription.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/trackThirdPartySharing.mdx delete mode 100644 src/code-snippets/react-native/examples/Adjust/updateConversionValue.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/constructor.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/setAdImpressionsCount.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueNetwork.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenuePlacement.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueUnit.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAdRevenue/setRevenue.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAppStoreSubscription/adjustAppStoreSubscription.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setSalesRegion.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setTransactionDate.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/constructor.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/deactivateSKAdNetworkHandling.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/sendInBackground.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setAttributionCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setCoppaCompliantEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setDefaultTracker.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setDelayStart.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setEventBufferingEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingFailedCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setExternalDeviceId.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setLaunchDeferredDeeplink.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setLinkMeEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setLogLevel.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setNeedsCost.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setPlayStoreKidsAppEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setPreinstallFilePath.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setPreinstallTrackingEnabled.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setShouldLaunchDeeplink.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustConfig/setUrlStrategy.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustEvent/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustEvent/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustEvent/constructor.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustEvent/setCallbackId.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustEvent/setRevenue.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustEvent/setTransactionId.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/adjustPlayStoreSubscription.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/setPurchaseTime.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOption.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOptionFacebook.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustThirdPartySharing/addPartnerSharingSetting.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustThirdPartySharing/initFalse.mdx delete mode 100644 src/code-snippets/react-native/examples/AdjustThirdPartySharing/initTrue.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/addSessionCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/addSessionPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/appTrackingAuthorizationStatus.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/checkForNewAttStatus.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/disableThirdPartySharing.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/gdprForgetMe.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/getAdid.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/getAmazonAdId.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/getAttribution.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/getGoogleAdId.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/getIdfa.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/isEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/removeSessionCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/removeSessionPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/requestTrackingAuthorization.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/resetSessionCallbackParameters.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/resetSessionPartnerParameters.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/sendFirstPackages.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/setEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/setOfflineMode.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/setPushToken.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/trackAdRevenue.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/trackAppStoreSubscription.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/trackEvent.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/trackMeasurementConsent.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/trackPlayStoreSubscription.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/trackThirdPartySharing.mdx delete mode 100644 src/code-snippets/react-native/signatures/Adjust/updateConversionValue.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/constructor.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdImpressionsCount.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueNetwork.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenuePlacement.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueUnit.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAdRevenue/setRevenue.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/constructor.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setSalesRegion.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setTransactionDate.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/constructor.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/deactivateSKAdNetworkHandling.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/sendInBackground.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setAttributionCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setCoppaCompliantEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setDefaultTracker.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setDelayStart.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setEventBufferingEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingFailedCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setExternalDeviceId.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setLinkMeEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setLogLevel.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setNeedsCost.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setPlayStoreKidsAppEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallFilePath.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallTrackingEnabled.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setShouldLaunchDeeplink.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustConfig/setUrlStrategy.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/constructor.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/setCallbackId.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/setProductId.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/setPurchaseToken.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/setReceipt.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/setRevenue.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustEvent/setTransactionId.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addCallbackParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addPartnerParameter.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/constructor.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/setPurchaseTime.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addGranularOption.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addPartnerSharingSetting.mdx delete mode 100644 src/code-snippets/react-native/signatures/AdjustThirdPartySharing/constructor.mdx create mode 100644 src/content/docs/sdk/react-native/configuration.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/background.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/deep-links.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/delay.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/disable.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/external-device-id.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/index.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/log-level.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/preinstalled.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/privacy.mdx delete mode 100644 src/content/docs/sdk/react-native/configuration/push-tokens.mdx rename src/content/docs/sdk/react-native/{configuration => features}/att.mdx (73%) create mode 100644 src/content/docs/sdk/react-native/features/preinstalled.mdx create mode 100644 src/content/docs/sdk/react-native/features/privacy.mdx rename src/content/docs/sdk/react-native/{configuration => features}/skad.mdx (75%) delete mode 100644 src/content/docs/sdk/react-native/reference/adjust/config.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjust/device-info.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjust/index.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjust/privacy.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjust/recording.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjust/skan-att.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustadrevenue.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustappstoresubscription.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustattribution.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustconfig/index.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustconfig/privacy.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustconfig/setup.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustevent.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustplaystoresubscription.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/adjustthirdpartysharing.mdx delete mode 100644 src/content/docs/sdk/react-native/reference/index.mdx diff --git a/src/code-snippets/react-native/examples/Adjust/addSessionCallbackParameter.mdx b/src/code-snippets/react-native/examples/Adjust/addSessionCallbackParameter.mdx deleted file mode 100644 index a278e7d1ee..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/addSessionCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.addSessionCallbackParameter("key", "value"); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/addSessionPartnerParameter.mdx b/src/code-snippets/react-native/examples/Adjust/addSessionPartnerParameter.mdx deleted file mode 100644 index 592b9f5187..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/addSessionPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.addSessionPartnerParameter("key", "value"); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/appTrackingAuthorizationStatus.mdx b/src/code-snippets/react-native/examples/Adjust/appTrackingAuthorizationStatus.mdx deleted file mode 100644 index 068c2c449e..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/appTrackingAuthorizationStatus.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.getAppTrackingAuthorizationStatus(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/checkForNewAttStatus.mdx b/src/code-snippets/react-native/examples/Adjust/checkForNewAttStatus.mdx deleted file mode 100644 index 1e53e5834c..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/checkForNewAttStatus.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.checkForNewAttStatus(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/disableThirdPartySharing.mdx b/src/code-snippets/react-native/examples/Adjust/disableThirdPartySharing.mdx deleted file mode 100644 index 85511d8648..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/disableThirdPartySharing.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.disableThirdPartySharing(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/gdprForgetMe.mdx b/src/code-snippets/react-native/examples/Adjust/gdprForgetMe.mdx deleted file mode 100644 index 21322cc3f2..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/gdprForgetMe.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.gdprForgetMe(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/getAdid.mdx b/src/code-snippets/react-native/examples/Adjust/getAdid.mdx deleted file mode 100644 index 0779b3f765..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/getAdid.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -Adjust.getAdid((adid) => { - console.log("Adid = " + adid); -}); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/getAmazonAdId.mdx b/src/code-snippets/react-native/examples/Adjust/getAmazonAdId.mdx deleted file mode 100644 index 99d3d07e37..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/getAmazonAdId.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -Adjust.getAmazonAdId((amazonAdId) => { - console.log("Amazon Ad Id = " + amazonAdId); -}); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/getAttribution.mdx b/src/code-snippets/react-native/examples/Adjust/getAttribution.mdx deleted file mode 100644 index 31c53dcca2..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/getAttribution.mdx +++ /dev/null @@ -1,12 +0,0 @@ -```jsx -Adjust.getAttribution((attribution) => { - console.log("Tracker token = " + attribution.trackerToken); - console.log("Tracker name = " + attribution.trackerName); - console.log("Network = " + attribution.network); - console.log("Campaign = " + attribution.campaign); - console.log("Adgroup = " + attribution.adgroup); - console.log("Creative = " + attribution.creative); - console.log("Click label = " + attribution.clickLabel); - console.log("Adid = " + attribution.adid); -}); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/getGoogleAdId.mdx b/src/code-snippets/react-native/examples/Adjust/getGoogleAdId.mdx deleted file mode 100644 index cd98df9c76..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/getGoogleAdId.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -Adjust.getGoogleAdId((googleAdId) => { - console.log("Google Ad Id = " + googleAdId); -}); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/getIdfa.mdx b/src/code-snippets/react-native/examples/Adjust/getIdfa.mdx deleted file mode 100644 index a91867710a..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/getIdfa.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -Adjust.getIdfa((idfa) => { - console.log("IDFA = " + idfa); -}); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/isEnabled.mdx b/src/code-snippets/react-native/examples/Adjust/isEnabled.mdx deleted file mode 100644 index ce480e66a0..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/isEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.isEnabled(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/removeSessionCallbackParameter.mdx b/src/code-snippets/react-native/examples/Adjust/removeSessionCallbackParameter.mdx deleted file mode 100644 index 3b836c125f..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/removeSessionCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.removeSessionCallbackParameter("key"); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/removeSessionPartnerParameter.mdx b/src/code-snippets/react-native/examples/Adjust/removeSessionPartnerParameter.mdx deleted file mode 100644 index 9489d5978d..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/removeSessionPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.removeSessionPartnerParameter("key"); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/requestTrackingAuthorization.mdx b/src/code-snippets/react-native/examples/Adjust/requestTrackingAuthorization.mdx deleted file mode 100644 index c2dbc71a40..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/requestTrackingAuthorization.mdx +++ /dev/null @@ -1,18 +0,0 @@ -```jsx -Adjust.requestTrackingAuthorizationWithCompletionHandler(function (status) { - switch (status) { - case 0: - // ATTrackingManagerAuthorizationStatusNotDetermined case - break; - case 1: - // ATTrackingManagerAuthorizationStatusRestricted case - break; - case 2: - // ATTrackingManagerAuthorizationStatusDenied case - break; - case 3: - // ATTrackingManagerAuthorizationStatusAuthorized case - break; - } -}); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/resetSessionCallbackParameters.mdx b/src/code-snippets/react-native/examples/Adjust/resetSessionCallbackParameters.mdx deleted file mode 100644 index 1aa90c62f8..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/resetSessionCallbackParameters.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.resetSessionCallbackParameters(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/resetSessionPartnerParameters.mdx b/src/code-snippets/react-native/examples/Adjust/resetSessionPartnerParameters.mdx deleted file mode 100644 index 3d0bf74ba1..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/resetSessionPartnerParameters.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.resetSessionPartnerParameters(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/sendFirstPackages.mdx b/src/code-snippets/react-native/examples/Adjust/sendFirstPackages.mdx deleted file mode 100644 index b12fcb7911..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/sendFirstPackages.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.sendFirstPackages(); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/setEnabled.mdx b/src/code-snippets/react-native/examples/Adjust/setEnabled.mdx deleted file mode 100644 index 7e07ff9cea..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/setEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.setEnabled(false); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/setOfflineMode.mdx b/src/code-snippets/react-native/examples/Adjust/setOfflineMode.mdx deleted file mode 100644 index 30aa583a93..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/setOfflineMode.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.setOfflineMode(true); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/setPushToken.mdx b/src/code-snippets/react-native/examples/Adjust/setPushToken.mdx deleted file mode 100644 index 286eef4855..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/setPushToken.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.setPushToken("YourPushNotificationToken"); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/trackAdRevenue.mdx b/src/code-snippets/react-native/examples/Adjust/trackAdRevenue.mdx deleted file mode 100644 index 2b2cd16c96..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/trackAdRevenue.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/trackAppStoreSubscription.mdx b/src/code-snippets/react-native/examples/Adjust/trackAppStoreSubscription.mdx deleted file mode 100644 index be9e3428ae..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/trackAppStoreSubscription.mdx +++ /dev/null @@ -1,12 +0,0 @@ -```jsx {10} -var subscription = new AdjustAppStoreSubscription( - price, - currency, - transactionId, - receipt -); -subscription.setTransactionDate(transactionDate); -subscription.setSalesRegion(salesRegion); - -Adjust.trackAppStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/trackEvent.mdx b/src/code-snippets/react-native/examples/Adjust/trackEvent.mdx deleted file mode 100644 index 65e46fa053..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/trackEvent.mdx +++ /dev/null @@ -1,4 +0,0 @@ -```jsx -var adjustEvent = new AdjustEvent("abc123"); -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/trackMeasurementConsent.mdx b/src/code-snippets/react-native/examples/Adjust/trackMeasurementConsent.mdx deleted file mode 100644 index 9dbca57aed..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/trackMeasurementConsent.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.trackMeasurementConsent(true); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/trackPlayStoreSubscription.mdx b/src/code-snippets/react-native/examples/Adjust/trackPlayStoreSubscription.mdx deleted file mode 100644 index 3efffc9a9c..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/trackPlayStoreSubscription.mdx +++ /dev/null @@ -1,13 +0,0 @@ -```jsx {11} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -subscription.setPurchaseTime(purchaseTime); - -Adjust.trackPlayStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/trackThirdPartySharing.mdx b/src/code-snippets/react-native/examples/Adjust/trackThirdPartySharing.mdx deleted file mode 100644 index 06b920d79e..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/trackThirdPartySharing.mdx +++ /dev/null @@ -1,4 +0,0 @@ -```jsx -var adjustThirdPartySharing = new AdjustThirdPartySharing(true); -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` diff --git a/src/code-snippets/react-native/examples/Adjust/updateConversionValue.mdx b/src/code-snippets/react-native/examples/Adjust/updateConversionValue.mdx deleted file mode 100644 index 3d242c5aaa..0000000000 --- a/src/code-snippets/react-native/examples/Adjust/updateConversionValue.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```jsx -Adjust.updateConversionValue(6); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/addCallbackParameter.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/addCallbackParameter.mdx deleted file mode 100644 index 379cc14f7d..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/addCallbackParameter.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.addCallbackParameter("key", "value"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/addPartnerParameter.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/addPartnerParameter.mdx deleted file mode 100644 index 659f8d5654..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/addPartnerParameter.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.addPartnerParameter("key", "value"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/constructor.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/constructor.mdx deleted file mode 100644 index 453576c0ae..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/constructor.mdx +++ /dev/null @@ -1,4 +0,0 @@ -```jsx {1} -var adjustAdRevenue = new AdjustAdRevenue("source"); -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdImpressionsCount.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdImpressionsCount.mdx deleted file mode 100644 index 7e1b9a2a64..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdImpressionsCount.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.setAdImpressionsCount(10); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueNetwork.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueNetwork.mdx deleted file mode 100644 index 0c8ab5858f..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueNetwork.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.setAdRevenueNetwork("network1"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenuePlacement.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenuePlacement.mdx deleted file mode 100644 index 46836145b7..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenuePlacement.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.setAdRevenuePlacement("banner"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueUnit.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueUnit.mdx deleted file mode 100644 index 48fda6dba2..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/setAdRevenueUnit.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.setAdRevenueUnit("unit1"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAdRevenue/setRevenue.mdx b/src/code-snippets/react-native/examples/AdjustAdRevenue/setRevenue.mdx deleted file mode 100644 index f111ffbd9c..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAdRevenue/setRevenue.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustAdRevenue = new AdjustAdRevenue("source"); -//... -adjustAdRevenue.setRevenue(1.00, "EUR"); -//... -Adjust.trackAdRevenue(adjustAdRevenue); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addCallbackParameter.mdx b/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addCallbackParameter.mdx deleted file mode 100644 index 6cb2502e99..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addCallbackParameter.mdx +++ /dev/null @@ -1,15 +0,0 @@ -```jsx {10-11} -var subscription = new AdjustAppStoreSubscription( - price, - currency, - transactionId, - receipt -); -subscription.setTransactionDate(transactionDate); -subscription.setSalesRegion(salesRegion); -//... -subscription.addCallbackParameter("key1", "value1"); -subscription.addCallbackParameter("key2", "value2"); - -Adjust.trackAppStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addPartnerParameter.mdx b/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addPartnerParameter.mdx deleted file mode 100644 index ad219f8840..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/addPartnerParameter.mdx +++ /dev/null @@ -1,15 +0,0 @@ -```jsx {10-11} -var subscription = new AdjustAppStoreSubscription( - price, - currency, - transactionId, - receipt -); -subscription.setTransactionDate(transactionDate); -subscription.setSalesRegion(salesRegion); -//... -subscription.addPartnerParameter("key1", "value1"); -subscription.addPartnerParameter("key2", "value2"); - -Adjust.trackAppStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/adjustAppStoreSubscription.mdx b/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/adjustAppStoreSubscription.mdx deleted file mode 100644 index fa0b6168bd..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/adjustAppStoreSubscription.mdx +++ /dev/null @@ -1,11 +0,0 @@ -```jsx {9} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -Adjust.trackPlayStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setSalesRegion.mdx b/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setSalesRegion.mdx deleted file mode 100644 index 5649c3ff0a..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setSalesRegion.mdx +++ /dev/null @@ -1,13 +0,0 @@ -```jsx {10} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -//... -subscription.setSalesRegion(salesRegion); -Adjust.trackPlayStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setTransactionDate.mdx b/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setTransactionDate.mdx deleted file mode 100644 index c965a842cf..0000000000 --- a/src/code-snippets/react-native/examples/AdjustAppStoreSubscription/setTransactionDate.mdx +++ /dev/null @@ -1,13 +0,0 @@ -```jsx {10} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -//... -subscription.setTransactionDate(transactionDate); -Adjust.trackPlayStoreSubscription(subscription); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/constructor.mdx b/src/code-snippets/react-native/examples/AdjustConfig/constructor.mdx deleted file mode 100644 index 4d5bbaf0d6..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/constructor.mdx +++ /dev/null @@ -1,8 +0,0 @@ -```jsx -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/deactivateSKAdNetworkHandling.mdx b/src/code-snippets/react-native/examples/AdjustConfig/deactivateSKAdNetworkHandling.mdx deleted file mode 100644 index 947eb7df2b..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/deactivateSKAdNetworkHandling.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.deactivateSKAdNetworkHandling(); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/sendInBackground.mdx b/src/code-snippets/react-native/examples/AdjustConfig/sendInBackground.mdx deleted file mode 100644 index 7ac7d6ce90..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/sendInBackground.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -const adjustConfig = new AdjustConfig(appToken, environment); -//... -adjustConfig.setSendInBackground(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setAttributionCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setAttributionCallbackListener.mdx deleted file mode 100644 index 6452124a4a..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setAttributionCallbackListener.mdx +++ /dev/null @@ -1,22 +0,0 @@ -```jsx {3-18} -const adjustConfig = new AdjustConfig(appToken, environment); - -adjustConfig.setAttributionCallbackListener(function (attribution) { - // Printing all attribution properties. - console.log("Attribution changed!"); - console.log(attribution.trackerToken); - console.log(attribution.trackerName); - console.log(attribution.network); - console.log(attribution.campaign); - console.log(attribution.adgroup); - console.log(attribution.creative); - console.log(attribution.clickLabel); - console.log(attribution.adid); - console.log(attribution.costType); - console.log(attribution.costAmount); - console.log(attribution.costCurrency); - console.log(attribution.fbInstallReferrer); -}); - -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx deleted file mode 100644 index b0ba46f20f..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx +++ /dev/null @@ -1,12 +0,0 @@ -```jsx {3-8} -const adjustConfig = new AdjustConfig(appToken, environment); - -adjustConfig.setConversionValueUpdatedCallbackListener(function ( - conversionValue -) { - console.log("Conversion value updated callback recveived"); - console.log("Conversion value: " + conversionValue.conversionValue); -}); - -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setCoppaCompliantEnabled.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setCoppaCompliantEnabled.mdx deleted file mode 100644 index ce329c10e5..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setCoppaCompliantEnabled.mdx +++ /dev/null @@ -1,9 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setCoppaCompliantEnabled(true); -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setDefaultTracker.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setDefaultTracker.mdx deleted file mode 100644 index 7f0de47e82..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setDefaultTracker.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setDefaultTracker("{TrackerToken}"); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx deleted file mode 100644 index 6b6c01a051..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx +++ /dev/null @@ -1,12 +0,0 @@ -```jsx {6-8} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//.. -adjustConfig.setDeferredDeeplinkCallbackListener(function (deeplink) { - console.log("Deferred deep link URL content: " + deeplink); -}); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setDelayStart.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setDelayStart.mdx deleted file mode 100644 index 0a7e42edb8..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setDelayStart.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setDelayStart(5.5); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setEventBufferingEnabled.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setEventBufferingEnabled.mdx deleted file mode 100644 index 0f18692a32..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setEventBufferingEnabled.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setEventBufferingEnabled(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingFailedCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingFailedCallbackListener.mdx deleted file mode 100644 index fb7bad6592..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingFailedCallbackListener.mdx +++ /dev/null @@ -1,20 +0,0 @@ -```jsx {6-16} -const adjustConfig = new AdjustConfig( - "{Your App Token}", - AdjustConfig.EnvironmentSandbox -); -adjustConfig.setLogLevel(AdjustLogLevel.Verbose); -adjustConfig.setEventTrackingFailedCallbackListener(function (eventFailure) { - // Printing all event failure properties. - console.log("Event tracking failed!"); - console.log(eventFailure.message); - console.log(eventFailure.timestamp); - console.log(eventFailure.eventToken); - console.log(eventFailure.callbackId); - console.log(eventFailure.adid); - console.log(eventFailure.willRetry); - console.log(eventFailure.jsonResponse); -}); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx deleted file mode 100644 index e111212aa6..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx +++ /dev/null @@ -1,19 +0,0 @@ -```jsx {6-15} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setEventTrackingSucceededCallbackListener(function (eventSuccess) { - // Printing all event success properties. - console.log("Event tracking succeeded!"); - console.log(eventSuccess.message); - console.log(eventSuccess.timestamp); - console.log(eventSuccess.eventToken); - console.log(eventSuccess.callbackId); - console.log(eventSuccess.adid); - console.log(eventSuccess.jsonResponse); -}); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setExternalDeviceId.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setExternalDeviceId.mdx deleted file mode 100644 index dac5167b63..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setExternalDeviceId.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setExternalDeviceId("{Your-External-Device-Id}"); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setLaunchDeferredDeeplink.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setLaunchDeferredDeeplink.mdx deleted file mode 100644 index 3bdae320a5..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setLaunchDeferredDeeplink.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setLaunchDeferredDeeplink(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setLinkMeEnabled.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setLinkMeEnabled.mdx deleted file mode 100644 index 11eda68ef1..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setLinkMeEnabled.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setLinkMeEnabled(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setLogLevel.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setLogLevel.mdx deleted file mode 100644 index 8250b22215..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setLogLevel.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setLogLevel(AdjustConfig.LogLevelVerbose); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setNeedsCost.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setNeedsCost.mdx deleted file mode 100644 index b52370628c..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setNeedsCost.mdx +++ /dev/null @@ -1,8 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{Your App Token}", - AdjustConfig.EnvironmentSandbox -); -adjustConfig.setLogLevel(AdjustLogLevel.Verbose); -adjustConfig.setNeedsCost(true); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setPlayStoreKidsAppEnabled.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setPlayStoreKidsAppEnabled.mdx deleted file mode 100644 index bde4013365..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setPlayStoreKidsAppEnabled.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setPlayStoreKidsAppEnabled(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setPreinstallFilePath.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setPreinstallFilePath.mdx deleted file mode 100644 index b473cd5a53..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setPreinstallFilePath.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox, -); -//... -adjustConfig.setPreinstallFilePath("../EngagementFile.xml"); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setPreinstallTrackingEnabled.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setPreinstallTrackingEnabled.mdx deleted file mode 100644 index 0846573abd..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setPreinstallTrackingEnabled.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox, -); -//... -adjustConfig.setPreinstallTrackingEnabled(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx deleted file mode 100644 index a3659de1f0..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx +++ /dev/null @@ -1,20 +0,0 @@ -```jsx {6-16} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setSessionTrackingFailedCallbackListener(function ( - sessionFailure -) { - // Printing all session failure properties. - console.log("Session tracking failed!"); - console.log(sessionFailure.message); - console.log(sessionFailure.timestamp); - console.log(sessionFailure.adid); - console.log(sessionFailure.willRetry); - console.log(sessionFailure.jsonResponse); -}); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx deleted file mode 100644 index c3a178dd85..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx +++ /dev/null @@ -1,19 +0,0 @@ -```jsx {6-15} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setSessionTrackingSucceededCallbackListener(function ( - sessionSuccess -) { - // Printing all session success properties. - console.log("Session tracking succeeded!"); - console.log(sessionSuccess.message); - console.log(sessionSuccess.timestamp); - console.log(sessionSuccess.adid); - console.log(sessionSuccess.jsonResponse); -}); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setShouldLaunchDeeplink.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setShouldLaunchDeeplink.mdx deleted file mode 100644 index 9e11388e83..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setShouldLaunchDeeplink.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setShouldLaunchDeeplink(true); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustConfig/setUrlStrategy.mdx b/src/code-snippets/react-native/examples/AdjustConfig/setUrlStrategy.mdx deleted file mode 100644 index 441918201b..0000000000 --- a/src/code-snippets/react-native/examples/AdjustConfig/setUrlStrategy.mdx +++ /dev/null @@ -1,8 +0,0 @@ -```jsx "AdjustConfig.AdjustDataResidencyEU" {5} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -adjustConfig.setUrlStrategy(AdjustConfig.DataResidencyEU); -Adjust.create(adjustConfig); -``` diff --git a/src/code-snippets/react-native/examples/AdjustEvent/addCallbackParameter.mdx b/src/code-snippets/react-native/examples/AdjustEvent/addCallbackParameter.mdx deleted file mode 100644 index 7de2e8e944..0000000000 --- a/src/code-snippets/react-native/examples/AdjustEvent/addCallbackParameter.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustEvent = new AdjustEvent("abc123"); -//... -adjustEvent.addCallbackParameter("key", "value"); -//... -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/AdjustEvent/addPartnerParameter.mdx b/src/code-snippets/react-native/examples/AdjustEvent/addPartnerParameter.mdx deleted file mode 100644 index ffb137a6d0..0000000000 --- a/src/code-snippets/react-native/examples/AdjustEvent/addPartnerParameter.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustEvent = new AdjustEvent("abc123"); -//... -adjustEvent.addPartnerParameter("key", "value"); -//... -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/AdjustEvent/constructor.mdx b/src/code-snippets/react-native/examples/AdjustEvent/constructor.mdx deleted file mode 100644 index 09d32a0840..0000000000 --- a/src/code-snippets/react-native/examples/AdjustEvent/constructor.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -var adjustEvent = new AdjustEvent("abc123"); -//... -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/AdjustEvent/setCallbackId.mdx b/src/code-snippets/react-native/examples/AdjustEvent/setCallbackId.mdx deleted file mode 100644 index 21a2dbbe7e..0000000000 --- a/src/code-snippets/react-native/examples/AdjustEvent/setCallbackId.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustEvent = new AdjustEvent("abc123"); -//... -adjustEvent.setCallbackId("your_callback_id"); -//... -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/AdjustEvent/setRevenue.mdx b/src/code-snippets/react-native/examples/AdjustEvent/setRevenue.mdx deleted file mode 100644 index 1504568fae..0000000000 --- a/src/code-snippets/react-native/examples/AdjustEvent/setRevenue.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustEvent = new AdjustEvent("abc123"); -//... -adjustEvent.setRevenue(0.01, "EUR"); -//... -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/AdjustEvent/setTransactionId.mdx b/src/code-snippets/react-native/examples/AdjustEvent/setTransactionId.mdx deleted file mode 100644 index 362a94bcb7..0000000000 --- a/src/code-snippets/react-native/examples/AdjustEvent/setTransactionId.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustEvent = new AdjustEvent("abc123"); -//... -adjustEvent.setTransactionId("{transactionId}"); -//... -Adjust.trackEvent(adjustEvent); -``` diff --git a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addCallbackParameter.mdx b/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addCallbackParameter.mdx deleted file mode 100644 index bc4f1de716..0000000000 --- a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addCallbackParameter.mdx +++ /dev/null @@ -1,13 +0,0 @@ -```jsx {10,11} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -//... -subscription.addCallbackParameter("key1", "value1"); -subscription.addCallbackParameter("key2", "value2"); -``` diff --git a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addPartnerParameter.mdx b/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addPartnerParameter.mdx deleted file mode 100644 index 9504a349a6..0000000000 --- a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/addPartnerParameter.mdx +++ /dev/null @@ -1,13 +0,0 @@ -```jsx {10,11} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -//... -subscription.addPartnerParameter("key1", "value1"); -subscription.addPartnerParameter("key2", "value2"); -``` diff --git a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/adjustPlayStoreSubscription.mdx b/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/adjustPlayStoreSubscription.mdx deleted file mode 100644 index b748e57b54..0000000000 --- a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/adjustPlayStoreSubscription.mdx +++ /dev/null @@ -1,10 +0,0 @@ -```jsx -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -``` diff --git a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/setPurchaseTime.mdx b/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/setPurchaseTime.mdx deleted file mode 100644 index 8f0cef3954..0000000000 --- a/src/code-snippets/react-native/examples/AdjustPlayStoreSubscription/setPurchaseTime.mdx +++ /dev/null @@ -1,11 +0,0 @@ -```jsx {9} -var subscription = new AdjustPlayStoreSubscription( - price, - currency, - sku, - orderId, - signature, - purchaseToken -); -subscription.setPurchaseTime(purchaseTime); -``` diff --git a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOption.mdx b/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOption.mdx deleted file mode 100644 index 8817610825..0000000000 --- a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOption.mdx +++ /dev/null @@ -1,7 +0,0 @@ -```jsx {3} -var adjustThirdPartySharing = new AdjustThirdPartySharing(null); -//... -adjustThirdPartySharing.addGranularOption("PartnerA", "key", "value"); -//... -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` diff --git a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOptionFacebook.mdx b/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOptionFacebook.mdx deleted file mode 100644 index 0cd4421570..0000000000 --- a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addGranularOptionFacebook.mdx +++ /dev/null @@ -1,16 +0,0 @@ -```jsx {3-12} -var adjustThirdPartySharing = new AdjustThirdPartySharing(null); -//... -adjustThirdPartySharing.addGranularOption( - "facebook", - "data_processing_options_country", - "1" -); -adjustThirdPartySharing.addGranularOption( - "facebook", - "data_processing_options_state", - "1000" -); -//... -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` diff --git a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addPartnerSharingSetting.mdx b/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addPartnerSharingSetting.mdx deleted file mode 100644 index a61940bb6b..0000000000 --- a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/addPartnerSharingSetting.mdx +++ /dev/null @@ -1,6 +0,0 @@ -```jsx {3} -var adjustThirdPartySharing = new AdjustThirdPartySharing(null); -//... -adjustThirdPartySharing.addPartnerSharingSetting("PartnerA", "foo", false); -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` diff --git a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/initFalse.mdx b/src/code-snippets/react-native/examples/AdjustThirdPartySharing/initFalse.mdx deleted file mode 100644 index 406755c627..0000000000 --- a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/initFalse.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx "false" -var adjustThirdPartySharing = new AdjustThirdPartySharing(false); -//... -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` diff --git a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/initTrue.mdx b/src/code-snippets/react-native/examples/AdjustThirdPartySharing/initTrue.mdx deleted file mode 100644 index 670e757cae..0000000000 --- a/src/code-snippets/react-native/examples/AdjustThirdPartySharing/initTrue.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx "true" -var adjustThirdPartySharing = new AdjustThirdPartySharing(true); -//... -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/addSessionCallbackParameter.mdx b/src/code-snippets/react-native/signatures/Adjust/addSessionCallbackParameter.mdx deleted file mode 100644 index 28ab23ab35..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/addSessionCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -addSessionCallbackParameter: (key: string, value: string) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/addSessionPartnerParameter.mdx b/src/code-snippets/react-native/signatures/Adjust/addSessionPartnerParameter.mdx deleted file mode 100644 index 8ace442b2e..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/addSessionPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -addSessionPartnerParameter: (key: string, value: string) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/appTrackingAuthorizationStatus.mdx b/src/code-snippets/react-native/signatures/Adjust/appTrackingAuthorizationStatus.mdx deleted file mode 100644 index 0432f563ce..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/appTrackingAuthorizationStatus.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -getAppTrackingAuthorizationStatus: (callback: (authorizationStatus: number) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/checkForNewAttStatus.mdx b/src/code-snippets/react-native/signatures/Adjust/checkForNewAttStatus.mdx deleted file mode 100644 index 4cbb63437e..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/checkForNewAttStatus.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -checkForNewAttStatus: () => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/disableThirdPartySharing.mdx b/src/code-snippets/react-native/signatures/Adjust/disableThirdPartySharing.mdx deleted file mode 100644 index f1e5ec2478..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/disableThirdPartySharing.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -disableThirdPartySharing: () => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/gdprForgetMe.mdx b/src/code-snippets/react-native/signatures/Adjust/gdprForgetMe.mdx deleted file mode 100644 index 0fdbf1b542..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/gdprForgetMe.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -gdprForgetMe: () => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/getAdid.mdx b/src/code-snippets/react-native/signatures/Adjust/getAdid.mdx deleted file mode 100644 index 90e13e6e28..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/getAdid.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -getAdid: (callback: (adid: string) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/getAmazonAdId.mdx b/src/code-snippets/react-native/signatures/Adjust/getAmazonAdId.mdx deleted file mode 100644 index 117c285380..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/getAmazonAdId.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -getAmazonAdId: (callback: (adid: string) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/getAttribution.mdx b/src/code-snippets/react-native/signatures/Adjust/getAttribution.mdx deleted file mode 100644 index b27806856e..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/getAttribution.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -getAttribution: (callback: (attribution: AdjustAttribution) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/getGoogleAdId.mdx b/src/code-snippets/react-native/signatures/Adjust/getGoogleAdId.mdx deleted file mode 100644 index 5c2af5d99a..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/getGoogleAdId.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -getGoogleAdId: (callback: (adid: string) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/getIdfa.mdx b/src/code-snippets/react-native/signatures/Adjust/getIdfa.mdx deleted file mode 100644 index 89f601cf1a..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/getIdfa.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -getIdfa: (callback: (idfa: string) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/isEnabled.mdx b/src/code-snippets/react-native/signatures/Adjust/isEnabled.mdx deleted file mode 100644 index 0917771640..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/isEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -isEnabled: (callback: (enabled: boolean) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/removeSessionCallbackParameter.mdx b/src/code-snippets/react-native/signatures/Adjust/removeSessionCallbackParameter.mdx deleted file mode 100644 index f45f14c2e4..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/removeSessionCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -removeSessionCallbackParameter: (key: string) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/removeSessionPartnerParameter.mdx b/src/code-snippets/react-native/signatures/Adjust/removeSessionPartnerParameter.mdx deleted file mode 100644 index 5802b2504d..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/removeSessionPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -removeSessionPartnerParameter: (key: string) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/requestTrackingAuthorization.mdx b/src/code-snippets/react-native/signatures/Adjust/requestTrackingAuthorization.mdx deleted file mode 100644 index dd79981209..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/requestTrackingAuthorization.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -requestTrackingAuthorizationWithCompletionHandler: (handler: (status: number) => void) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/resetSessionCallbackParameters.mdx b/src/code-snippets/react-native/signatures/Adjust/resetSessionCallbackParameters.mdx deleted file mode 100644 index 51421c2eb4..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/resetSessionCallbackParameters.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -resetSessionCallbackParameters: () => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/resetSessionPartnerParameters.mdx b/src/code-snippets/react-native/signatures/Adjust/resetSessionPartnerParameters.mdx deleted file mode 100644 index c5f4e1b18a..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/resetSessionPartnerParameters.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -resetSessionPartnerParameters: () => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/sendFirstPackages.mdx b/src/code-snippets/react-native/signatures/Adjust/sendFirstPackages.mdx deleted file mode 100644 index 304cac99a9..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/sendFirstPackages.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -sendFirstPackages: () => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/setEnabled.mdx b/src/code-snippets/react-native/signatures/Adjust/setEnabled.mdx deleted file mode 100644 index fd4a104c31..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/setEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -setEnabled: (enabled: boolean) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/setOfflineMode.mdx b/src/code-snippets/react-native/signatures/Adjust/setOfflineMode.mdx deleted file mode 100644 index b0bf5d73d1..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/setOfflineMode.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -setOfflineMode: (enabled: boolean) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/setPushToken.mdx b/src/code-snippets/react-native/signatures/Adjust/setPushToken.mdx deleted file mode 100644 index c019a09ee2..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/setPushToken.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -setPushToken: (token: string) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/trackAdRevenue.mdx b/src/code-snippets/react-native/signatures/Adjust/trackAdRevenue.mdx deleted file mode 100644 index 212b01a68b..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/trackAdRevenue.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -trackAdRevenue: ((source: string, payload: string) => void) & ((source: AdjustAdRevenue) => void) -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/trackAppStoreSubscription.mdx b/src/code-snippets/react-native/signatures/Adjust/trackAppStoreSubscription.mdx deleted file mode 100644 index e4b768fff4..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/trackAppStoreSubscription.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -trackAppStoreSubscription: (subscription: AdjustAppStoreSubscription) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/trackEvent.mdx b/src/code-snippets/react-native/signatures/Adjust/trackEvent.mdx deleted file mode 100644 index da2b4ee46a..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/trackEvent.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -trackEvent: (adjustEvent: AdjustEvent) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/trackMeasurementConsent.mdx b/src/code-snippets/react-native/signatures/Adjust/trackMeasurementConsent.mdx deleted file mode 100644 index d9e503741e..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/trackMeasurementConsent.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -trackMeasurementConsent: (measurementConsent: boolean) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/trackPlayStoreSubscription.mdx b/src/code-snippets/react-native/signatures/Adjust/trackPlayStoreSubscription.mdx deleted file mode 100644 index e3236d5ffa..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/trackPlayStoreSubscription.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -trackPlayStoreSubscription: (subscription: AdjustPlayStoreSubscription) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/trackThirdPartySharing.mdx b/src/code-snippets/react-native/signatures/Adjust/trackThirdPartySharing.mdx deleted file mode 100644 index 90cf78abcc..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/trackThirdPartySharing.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -trackThirdPartySharing: (adjustThirdPartySharing: AdjustThirdPartySharing) => void -``` diff --git a/src/code-snippets/react-native/signatures/Adjust/updateConversionValue.mdx b/src/code-snippets/react-native/signatures/Adjust/updateConversionValue.mdx deleted file mode 100644 index bb5e7d5d1e..0000000000 --- a/src/code-snippets/react-native/signatures/Adjust/updateConversionValue.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -updateConversionValue: (conversionValue: number) => void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/addCallbackParameter.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/addCallbackParameter.mdx deleted file mode 100644 index fad4f27465..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/addCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addCallbackParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/addPartnerParameter.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/addPartnerParameter.mdx deleted file mode 100644 index ef58b5c151..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/addPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addPartnerParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/constructor.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/constructor.mdx deleted file mode 100644 index 512b943892..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/constructor.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -constructor(source: string) -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdImpressionsCount.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdImpressionsCount.mdx deleted file mode 100644 index a5536f29a4..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdImpressionsCount.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setAdImpressionsCount(adImpressionsCount: number): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueNetwork.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueNetwork.mdx deleted file mode 100644 index bcc8955436..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueNetwork.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setAdRevenueNetwork(adRevenueNetwork: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenuePlacement.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenuePlacement.mdx deleted file mode 100644 index dba6c93a9f..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenuePlacement.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setAdRevenuePlacement(adRevenuePlacement: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueUnit.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueUnit.mdx deleted file mode 100644 index db645f2b4a..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setAdRevenueUnit.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setAdRevenueUnit(adRevenueUnit: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setRevenue.mdx b/src/code-snippets/react-native/signatures/AdjustAdRevenue/setRevenue.mdx deleted file mode 100644 index 4c477a1039..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAdRevenue/setRevenue.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setRevenue(revenue: number, currency: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addCallbackParameter.mdx b/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addCallbackParameter.mdx deleted file mode 100644 index fad4f27465..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addCallbackParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addPartnerParameter.mdx b/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addPartnerParameter.mdx deleted file mode 100644 index ef58b5c151..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/addPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addPartnerParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/constructor.mdx b/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/constructor.mdx deleted file mode 100644 index f8088f6483..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/constructor.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -constructor(price: string, currency: string, transactionId: string, receipt: string) -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setSalesRegion.mdx b/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setSalesRegion.mdx deleted file mode 100644 index c5899e9ac2..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setSalesRegion.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setSalesRegion(salesRegion: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setTransactionDate.mdx b/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setTransactionDate.mdx deleted file mode 100644 index 6b4a50412d..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustAppStoreSubscription/setTransactionDate.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setTransactionDate(transactionDate: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/constructor.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/constructor.mdx deleted file mode 100644 index 1aeed4f8f5..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/constructor.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -constructor(appToken: string, environment: Environment) -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/deactivateSKAdNetworkHandling.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/deactivateSKAdNetworkHandling.mdx deleted file mode 100644 index a9500de396..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/deactivateSKAdNetworkHandling.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public deactivateSKAdNetworkHandling(): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/sendInBackground.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/sendInBackground.mdx deleted file mode 100644 index a775e97b83..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/sendInBackground.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setSendInBackground(sendInBackground: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setAttributionCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setAttributionCallbackListener.mdx deleted file mode 100644 index aa4e09a740..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setAttributionCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```ts -public setAttributionCallbackListener( - callback: (attribution: AdjustAttribution) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx deleted file mode 100644 index aa34715dc8..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```ts -public setConversionValueUpdatedCallbackListener( - callback: (conversionValue: AdjustConversionValue) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setCoppaCompliantEnabled.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setCoppaCompliantEnabled.mdx deleted file mode 100644 index 85978a84b3..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setCoppaCompliantEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setCoppaCompliantEnabled(coppaCompliantEnabled: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setDefaultTracker.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setDefaultTracker.mdx deleted file mode 100644 index 79d0ffe7ab..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setDefaultTracker.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setDefaultTracker(defaultTracked: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx deleted file mode 100644 index debe8dfc2e..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```ts -public setDeferredDeeplinkCallbackListener( - callback: (uri: AdjustUri) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setDelayStart.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setDelayStart.mdx deleted file mode 100644 index f67941090c..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setDelayStart.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setDelayStart(delayStart: number): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setEventBufferingEnabled.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setEventBufferingEnabled.mdx deleted file mode 100644 index ea8e255aa9..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setEventBufferingEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setEventBufferingEnabled(eventBufferingEnabled: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingFailedCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingFailedCallbackListener.mdx deleted file mode 100644 index 50ec39ad87..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingFailedCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```ts -public setEventTrackingFailedCallbackListener( - callback: (eventFailed: AdjustEventTrackingFailure) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx deleted file mode 100644 index 92df998e1a..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```jsx -public setEventTrackingSucceededCallbackListener( - callback: (eventSuccess: AdjustEventTrackingSuccess) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setExternalDeviceId.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setExternalDeviceId.mdx deleted file mode 100644 index 400b6547b1..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setExternalDeviceId.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setExternalDeviceId(externalDeviceId: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setLinkMeEnabled.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setLinkMeEnabled.mdx deleted file mode 100644 index 805aec7a32..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setLinkMeEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setLinkMeEnabled(linkMeEnabled: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setLogLevel.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setLogLevel.mdx deleted file mode 100644 index 5e0de63a9f..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setLogLevel.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setLogLevel(level: LogLevel): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setNeedsCost.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setNeedsCost.mdx deleted file mode 100644 index 80a05be335..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setNeedsCost.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setNeedsCost(needsCost: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setPlayStoreKidsAppEnabled.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setPlayStoreKidsAppEnabled.mdx deleted file mode 100644 index a9901a9118..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setPlayStoreKidsAppEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setPlayStoreKidsAppEnabled(playStoreKidsAppEnabled: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallFilePath.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallFilePath.mdx deleted file mode 100644 index e2c40850f5..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallFilePath.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setPreinstallFilePath(preinstallFilePath: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallTrackingEnabled.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallTrackingEnabled.mdx deleted file mode 100644 index a5ae28c9de..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setPreinstallTrackingEnabled.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setPreinstallTrackingEnabled(preinstallTrackingEnabled: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx deleted file mode 100644 index 2273bbf4fa..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```ts -public setSessionTrackingFailedCallbackListener( - callback: (sessionFailed: AdjustSessionTrackingFailure) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx deleted file mode 100644 index b1fd7fe89b..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx +++ /dev/null @@ -1,5 +0,0 @@ -```ts -public setSessionTrackingSucceededCallbackListener( - callback: (sessionSuccess: AdjustSessionTrackingSuccess) => void -): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setShouldLaunchDeeplink.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setShouldLaunchDeeplink.mdx deleted file mode 100644 index d4803e9061..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setShouldLaunchDeeplink.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setShouldLaunchDeeplink(shouldLaunchDeeplink: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustConfig/setUrlStrategy.mdx b/src/code-snippets/react-native/signatures/AdjustConfig/setUrlStrategy.mdx deleted file mode 100644 index ed6b3576ee..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustConfig/setUrlStrategy.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setUrlStrategy(urlStrategy: UrlStrategy): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/addCallbackParameter.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/addCallbackParameter.mdx deleted file mode 100644 index fad4f27465..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/addCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addCallbackParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/addPartnerParameter.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/addPartnerParameter.mdx deleted file mode 100644 index ef58b5c151..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/addPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addPartnerParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/constructor.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/constructor.mdx deleted file mode 100644 index fdf5844d4d..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/constructor.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -constructor(eventToken: string) -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/setCallbackId.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/setCallbackId.mdx deleted file mode 100644 index 66484f9c17..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/setCallbackId.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setCallbackId(callbackId: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/setProductId.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/setProductId.mdx deleted file mode 100644 index a8358d96c4..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/setProductId.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setProductId(productId: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/setPurchaseToken.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/setPurchaseToken.mdx deleted file mode 100644 index cd72349dd0..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/setPurchaseToken.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setPurchaseToken(purchaseToken: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/setReceipt.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/setReceipt.mdx deleted file mode 100644 index 080c78839f..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/setReceipt.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setReceipt(receipt: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/setRevenue.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/setRevenue.mdx deleted file mode 100644 index 4c477a1039..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/setRevenue.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setRevenue(revenue: number, currency: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustEvent/setTransactionId.mdx b/src/code-snippets/react-native/signatures/AdjustEvent/setTransactionId.mdx deleted file mode 100644 index a80bf51150..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustEvent/setTransactionId.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setTransactionId(transactionId: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addCallbackParameter.mdx b/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addCallbackParameter.mdx deleted file mode 100644 index fad4f27465..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addCallbackParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addCallbackParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addPartnerParameter.mdx b/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addPartnerParameter.mdx deleted file mode 100644 index ef58b5c151..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/addPartnerParameter.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addPartnerParameter(key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/constructor.mdx b/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/constructor.mdx deleted file mode 100644 index 9ffdf54e13..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/constructor.mdx +++ /dev/null @@ -1,9 +0,0 @@ -```ts -constructor( - price: string, - currency: string, - sku: string, - orderId: string, - signature: string, - purchaseToken: string) -``` diff --git a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/setPurchaseTime.mdx b/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/setPurchaseTime.mdx deleted file mode 100644 index 8239568261..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustPlayStoreSubscription/setPurchaseTime.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public setPurchaseTime(purchaseTime: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addGranularOption.mdx b/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addGranularOption.mdx deleted file mode 100644 index ec27e5da6e..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addGranularOption.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addGranularOption(partnerName: string, key: string, value: string): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addPartnerSharingSetting.mdx b/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addPartnerSharingSetting.mdx deleted file mode 100644 index f33bce208b..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/addPartnerSharingSetting.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -public addPartnerSharingSetting(partnerName: string, key: string, value: boolean): void -``` diff --git a/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/constructor.mdx b/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/constructor.mdx deleted file mode 100644 index 398ec20e08..0000000000 --- a/src/code-snippets/react-native/signatures/AdjustThirdPartySharing/constructor.mdx +++ /dev/null @@ -1,3 +0,0 @@ -```ts -constructor(isEnabled: boolean) -``` diff --git a/src/content/docs/sdk/android/setup/preinstalled.mdx b/src/content/docs/sdk/android/setup/preinstalled.mdx index 67bfa7342c..afae9e5b28 100644 --- a/src/content/docs/sdk/android/setup/preinstalled.mdx +++ b/src/content/docs/sdk/android/setup/preinstalled.mdx @@ -139,7 +139,7 @@ Configuring a default link token enables you to attribute all preinstalls to a p 1. [Create a new campaign link in Campaign Lab](https://help.adjust.com/en/article/links). - ```text + ```text "{token}" https://app.adjust.com/{token} ``` diff --git a/src/content/docs/sdk/flutter/features/preinstalled.mdx b/src/content/docs/sdk/flutter/features/preinstalled.mdx index df30ed4cdf..ae2d7372a1 100644 --- a/src/content/docs/sdk/flutter/features/preinstalled.mdx +++ b/src/content/docs/sdk/flutter/features/preinstalled.mdx @@ -22,7 +22,7 @@ Configuring a default link token enables you to attribute all preinstalls to a p 1. [Create a new campaign link in Campaign Lab](https://help.adjust.com/en/article/links). - ```text + ```text "{token}" https://app.adjust.com/{token} ``` diff --git a/src/content/docs/sdk/react-native/configuration.mdx b/src/content/docs/sdk/react-native/configuration.mdx new file mode 100644 index 0000000000..62fd2358f7 --- /dev/null +++ b/src/content/docs/sdk/react-native/configuration.mdx @@ -0,0 +1,292 @@ +--- +title: Configuration +description: Follow the guides in this section to configure the Adjust SDK. +slug: en/sdk/react-native/configuration +sidebar-position: 1 +--- + +Use the methods in this document to configure the behavior of the Adjust SDK. + +## Instantiate your config object + +```ts title="Method signature" +constructor(appToken: string, environment: Environment) +``` + +To configure the Adjust SDK, you need to instantiate an `AdjustConfig` object. This object contains the **read-only** configuration options that you need to pass to the Adjust SDK. + +To instantiate your config object, create a new `AdjustConfig` instance and pass the following parameters: + +- `appToken` (**String**): Your [Adjust app token](https://help.adjust.com/en/article/app-token-and-reporting-currency#view-your-app-details). +- `environment` (**Environment**): The environment you want to run the SDK in. Pass `AdjustConfig.EnvironmentSandbox` to run the SDK in sandbox mode for testing. Pass `AdjustConfig.EnvironmentProduction` to run the SDK in production mode for release. + +```jsx +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +Adjust.create(adjustConfig); +``` + +## Read-only configuration + +**Read-only** configuration options are set in your `AdjustConfig` instance **before** the initialization of the SDK. They can't be changed while the SDK is running. You MUST configure any options you want to use before running `Adjust.start()`. + +### Set your logging level + +```ts title="Method signature" +public setLogLevel(level: LogLevel): void +``` + +The Adjust SDK provides configurable log levels to return different amounts of information. The following log levels are available: + + + +| Log level | Description | +| ------------------------------- | ------------------------------------------ | +| `AdjustConfig.LogLevelVerbose` | Enable all logging | +| `AdjustConfig.LogLevelDebug` | Enable debug logging | +| `AdjustConfig.LogLevelInfo` | Only show info level logs (default option) | +| `AdjustConfig.LogLevelWarn` | Disable info logging | +| `AdjustConfig.LogLevelError` | Disable warning level logging and below | +| `AdjustConfig.LogLevelAssert` | Disable error level logging and below | +| `AdjustConfig.LogLevelSuppress` | Suppress all logging | + +
+ +You can set your log level by calling the `setLogLevel` method on your `AdjustConfig` instance with the following parameter: + +- `logLevel` (**LogLevel**): The log level you want to use. + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setLogLevel(AdjustConfig.LogLevelVerbose); +//... +Adjust.create(adjustConfig); +``` + +### Set external device identifier + +```ts title="Method signature" +public setExternalDeviceId(externalDeviceId: string): void +``` + +An external device identifier is a custom value that you can assign to a device or user. They help you recognize users across sessions and platforms. They can also help you deduplicate installs by user so that a user isn't counted as duplicate new installs. Contact your Adjust representative to get started with external device IDs. + +You can use an external device ID as a custom identifier for a device. This helps you keep continuity with your other systems. You can set property calling the `setExternalDeviceId` method with the following parameter: + +- `externalDeviceId` (**String**): Your external device identifier. This value is **case sensitive**. If you have imported external device IDs, make sure the value you pass matches the imported value. + + + +See the [External device identifiers article](https://help.adjust.com/en/article/external-device-identifiers) in the Adjust help center for more information. + + + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setExternalDeviceId("{Your-External-Device-Id}"); +//... +Adjust.create(adjustConfig); +``` + +If you want to use the external device ID in your business analytics, you can pass it as a [session callback parameter](/en/sdk/flutter/features/session-parameters). + +You can import existing external device IDs into Adjust. This ensures that the Adjust servers match future data to your existing device records. Contact your Adjust representative for more information. + +### Set default link token + +```ts title="Method signature" +public setDefaultTracker(defaultTracker: string): void +``` + +You can configure a default link token if your app is preinstalled on a device. When a user opens the preinstalled app for the first time, the install is attributed to the default link token. To set your default link token, call the `setDefaultTracker` method with the following argument: + +- `defaultTracker` (String): The [Adjust link token](https://help.adjust.com/en/article/links#adjust-link-token) you want to record preinstalled installs against. + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setDefaultTracker("{TrackerToken}"); +//... +Adjust.create(adjustConfig); +``` + +### Enable cost data sending + +```ts title="Method signature" +public setNeedsCost(needsCost: boolean): void +``` + +By default, the Adjust SDK doesn't send cost data as part of a user's attribution. You can configure the SDK to send this data by enabling cost data sending. To enable cost data sending, call the `setNeedsCost` method on your config instance with the following parameter: + +- `needsCost` (**Boolean**): set to `true` to enable cost data sending or `false` to disable cost data sending. + +Cost data is accessible in the user's [attribution information](/en/sdk/react-native/features/attribution). + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{Your App Token}", + AdjustConfig.EnvironmentSandbox +); +adjustConfig.setLogLevel(AdjustLogLevel.Verbose); +adjustConfig.setNeedsCost(true); +``` + +### Enable background recording + +```ts title="Method signature" +public setSendInBackground(sendInBackground: boolean): void +``` + +By default, the Adjust SDK pauses the sending of requests when your app is running in the background. You can configure the SDK to send requests in the background by enabling the background recording. To enable background recording, call the `setSendInBackground` method on your config instance with the following parameter: + +- `sendInBackground` (Boolean): Set to `true` to enable background sending or `false` to disable background sending. + +```jsx {3} +const adjustConfig = new AdjustConfig(appToken, environment); +//... +adjustConfig.setSendInBackground(true); +//... +Adjust.create(adjustConfig); +``` + +### Enable event buffering + +```ts title="Method signature" +public setEventBufferingEnabled(eventBufferingEnabled: boolean): void +``` + +The Adjust SDK sends event information as soon as a user triggers an event in your app. You can send event information on a schedule by enabling event buffering. Event buffering stores events in a local buffer on the device and sends all requests once per minute. + +Your config object contains a boolean `eventBufferingEnabled` property that controls this behavior. You can set this property by calling the `setEventBufferingEnabled` method on your config object with the following parameter: + +- `eventBufferingEnabled` (**Boolean**): Set to `true` to enable event buffering or `false` to disable event buffering. + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setEventBufferingEnabled(true); +//... +Adjust.create(adjustConfig); +``` + +### Delay the start of the SDK + +```ts title="Method signature" +public setDelayStart(delayStart: number): void +``` + +By default, the Adjust SDK starts as soon as your app opens. If you want to send data that is not available at launch in [session parameters](/en/sdk/android/features/session-parameters), you can delay the start of the SDK. This can be helpful if you are sending information such as unique identifiers. + +To configure a startup delay, call the `setDelayStart` method with the following argument: + +- `delayStart` (**Number**): The time (in seconds) by which to delay the start of the SDK. You can delay the start of the SDK by up to **10 seconds**. + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setDelayStart(5.5); +//... +Adjust.create(adjustConfig); +``` + +## Dynamic configuration + +**Dynamic** configuration options may be changed during the SDK's lifecycle in response to events or actions taken by the user. + +### Toggle offline mode + +```ts title="Method signature" +setOfflineMode: (enabled: boolean) => void +``` + + + +The offline mode setting isn't remembered between sessions. Offline mode is disabled at the start of each new session. + + + +The Adjust SDK sends event and session data to Adjust's servers in real time. You can pause the sending of information by putting the SDK in offline mode. In offline mode the SDK stores all data in a local file on the device. The SDK sends this information to Adjust's servers when you disable offline mode. + +You can toggle offline mode at any time by calling the `setOfflineMode` method with the following argument: + +- `enabled` (**Boolean**): Set to `true` to enable offline mode or `false` to disable offline mode. + +```jsx +Adjust.setOfflineMode(true); +``` + +### Set push tokens + +```ts title="Method signature" +setPushToken: (token: string) => void +``` + +Push tokens are used for [Audience Builder](https://help.adjust.com/en/article/audience-builder) and client callbacks. They're also required for [Uninstall and reinstall tracking](https://help.adjust.com/en/article/uninstalls-reinstalls). + +Your config object contains a string `pushToken` property that you can use to store your push token. You can update this property at any time by calling the `setPushToken` method and passing the following arguments: + +- `token` (**String**): Your push token. + + + +If you have access to the push token from the web view, you can call the `setPushToken` method in Javascript. + + + +```jsx +Adjust.setPushToken("YourPushNotificationToken"); +``` + +### Disable or enable the SDK + + + +You can only call this method after the first session. This setting persists between sessions. + + + +```ts title="Method siganture" +setEnabled: (enabled: boolean) => void +``` + +The Adjust SDK runs by default when your app is open. You can disable and re-enable the Adjust SDK to pause and resume recording. When you disable the Adjust SDK, it doesn't send any data to Adjust's servers. + +You can enable or disable the SDK at any time by calling the `setEnabled` method with the following argument: + +- `enabled` (**Boolean**): Set to `true` to enable the SDK or `false` to disable the SDK. + +```jsx +Adjust.setEnabled(false); +``` + +#### Check enabled status + +```ts title="Method signature" +isEnabled: (callback: (enabled: boolean) => void) => void +``` + +You can check if the Adjust SDK is enabled at any time by calling the `isEnabled` method. This method returns a **boolean** value indicating if the SDK is **enabled** (`true`) or **disabled** (`false`). + +```jsx +Adjust.isEnabled(); +``` diff --git a/src/content/docs/sdk/react-native/configuration/background.mdx b/src/content/docs/sdk/react-native/configuration/background.mdx deleted file mode 100644 index 02cf7a076e..0000000000 --- a/src/content/docs/sdk/react-native/configuration/background.mdx +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Record activity in the background -description: Configure the SDK to send requests in the background. -slug: en/sdk/react-native/configuration/background ---- - -import SetSendInBackground from "@react-native-examples/AdjustConfig/sendInBackground.mdx" -import SetSendInBackgroundSig from "@react-native-signatures/AdjustConfig/sendInBackground.mdx" - -By default, the Adjust SDK pauses the sending of requests when your app is running in the background. You can configure the SDK to send requests in the background by enabling the background recording feature. - -Your config object contains a boolean `sendInBackground` property that controls this behavior. You can set this property by calling the `setSendInBackground` method on your config instance with a boolean value. - - - -You must set the `sendInBackground` property *before* you initialize the Adjust SDK. - - - - diff --git a/src/content/docs/sdk/react-native/configuration/deep-links.mdx b/src/content/docs/sdk/react-native/configuration/deep-links.mdx deleted file mode 100644 index 3cb8c82388..0000000000 --- a/src/content/docs/sdk/react-native/configuration/deep-links.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: Deep linking -description: Follow the guides in this section to set up deep linking. -category-title: Deep linking -slug: en/sdk/react-native/configuration/deep-links ---- - -import SetLinkMeEnabled from "@react-native-examples/AdjustConfig/setLinkMeEnabled.mdx" -import SetLinkMeEnabledSig from "@react-native-signatures/AdjustConfig/setLinkMeEnabled.mdx" -import SetShouldLaunchDeeplink from "@react-native-examples/AdjustConfig/setShouldLaunchDeeplink.mdx" -import SetShouldLaunchDeeplinkSig from "@react-native-signatures/AdjustConfig/setShouldLaunchDeeplink.mdx" -import SetDeferredDeeplinkCallbackListener from "@react-native-examples/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx" -import SetDeferredDeeplinkCallbackListenerSig from "@react-native-signatures/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx" - -Deep links are URIs (Uniform Resource Identifiers) that direct users to a specific page in your app without any additional navigation. You can use them throughout your marketing funnel to improve user acquisition, engagement, and retention. - -The Adjust SDK uses different logic depending on whether the user already has your app installed on their device: - -Direct deep linking: Occurs if the user already has your app installed. The link takes the user to the page specified in the link - -Deferred deep linking: Occurs if the user doesn't have your app installed. The link takes the user to a storefront to install your app first. After the user installs the app, it opens to the page specified in the link. - -To get started, follow these steps. - -## Set up deep linking - -If a user has your app installed, it opens when they interact with a link containing deep link information. The Adjust SDK contains tools to parse deep link information for use throughout your app. - -To set up deep linking on your React Native app: - -1. Set up deep linking on an app level. Follow the instructions linked below to set up deep linking on your target platform: - - [iOS](/en/sdk/ios/configuration/deep-links) - - [Android](/en/sdk/android/features/deep-links) -2. Refer to the [React Native documentation](https://reactnative.dev/docs/linking.html) and follow the instructions to learn how to support both platforms. -3. Use your obtained deep link URL in your JavaScript code. - -## Deferred deep linking - -### Disable deferred deep linking - -The SDK opens deferred deep links by default. You can configure this by passing a **boolean** argument to the `setDeferredDeeplinkCallbackListener` method. - - - -### Set up a deferred deep link delegate - -You can configure the Adjust SDK to call a delegate function when it receives a deferred deep link by calling the `SetDeferredDeeplinkCallbackListener` method. This delegate function receives the deep link as a **string** argument. - - - -### Example - -This example shows how to log a deep link address when the user opens a deferred deep link. - -```jsx {1-3, 9} -const LogDeepLink = function (deeplinkURL) { - console.log("Deeplink URL: " + deeplinkURL); -}; -//... -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -adjustConfig.setDeferredDeeplinkCallbackListener(LogDeepLink); -//... -Adjust.create(adjustConfig); -``` - -### Enable LinkMe - -The Adjust SDK lets you copy deep link information from the device pasteboard. When combined with Adjust’s LinkMe solution, this feature enables deferred deep linking on devices running iOS 15 and above. - - - -The Adjust SDK checks the pasteboard when a user opens the app for the first time. The device displays a dialog asking if the user wants to allow the app to read the pasteboard. - - - -When a user clicks on a LinkMe URL they have the option to copy the link information to their system pasteboard. You can use the Adjust SDK to read the system pasteboard for deep link information. If deep link information is present, the SDK forwards the user to the correct page in your app. - -To enable pasteboard checking in your app, pass a true value to the `setLinkMeEnabled` method on your config object: - - diff --git a/src/content/docs/sdk/react-native/configuration/delay.mdx b/src/content/docs/sdk/react-native/configuration/delay.mdx deleted file mode 100644 index e81dcc5967..0000000000 --- a/src/content/docs/sdk/react-native/configuration/delay.mdx +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Delay recording -description: Configure the SDK to delay the sending of information to Adjust's servers. -slug: en/sdk/react-native/configuration/delay ---- - -import SetOfflineMode from "@react-native-examples/Adjust/setOfflineMode.mdx" -import SetOfflineModeSig from "@react-native-signatures/Adjust/setOfflineMode.mdx" -import SetEventBufferingEnabled from "@react-native-examples/AdjustConfig/setEventBufferingEnabled.mdx" -import SetEventBufferingEnabledSig from "@react-native-signatures/AdjustConfig/setEventBufferingEnabled.mdx" - - - -The offline mode setting isn't remembered between sessions. Offline mode is disabled at the start of each new session. - - - -The Adjust SDK sends event and session data to Adjust's servers in real time. You can pause the sending of information by putting the SDK in offline mode. In offline mode the SDK stores all data in a local file on the device. The SDK sends this information to Adjust's servers when you disable offline mode. - -Your config object contains a boolean `isOffline` property that controls this behavior. You can update this property at any time by calling the `setOfflineMode` method with a boolean argument. The SDK sends all saved information to Adjust's servers when you deactivate offline mode. - - - -## Event buffering - -The Adjust SDK sends event information as soon as a user triggers an event in your app. You can send event information on a schedule by enabling event buffering. Event buffering stores events in a local buffer on the device and sends all requests once per minute. - -Your config object contains a boolean `eventBufferingEnabled` property that controls this behavior. You can set this property by calling the `setEventBufferingEnabled` method on your config object with a boolean argument. - - diff --git a/src/content/docs/sdk/react-native/configuration/disable.mdx b/src/content/docs/sdk/react-native/configuration/disable.mdx deleted file mode 100644 index 5b2aa75a6d..0000000000 --- a/src/content/docs/sdk/react-native/configuration/disable.mdx +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: Disable the Adjust SDK -description: Disable the Adjust SDK to pause recording. -slug: en/sdk/react-native/configuration/disable ---- - -import SetEnabled from "@react-native-examples/Adjust/setEnabled.mdx"; -import SetEnabledSig from "@react-native-signatures/Adjust/setEnabled.mdx"; -import IsEnabled from "@react-native-examples/Adjust/isEnabled.mdx"; -import IsEnabledSig from "@react-native-signatures/Adjust/isEnabled.mdx"; - -The Adjust SDK runs by default when your app is open. You can disable and re-enable the Adjust SDK to pause and resume recording. When you disable the Adjust SDK, it doesn't send any data to Adjust's servers. - -You can enable or disable the SDK at any time by calling the `setEnabled` method with a boolean argument. - - - -You can only call this method after the first session. This setting persists between sessions. - - - - - -## Check enabled status - -You can check if the Adjust SDK is enabled at any time by calling the `isEnabled` method. This method returns a boolean value. - - - -## Example - -This example shows how to generate a button to enable or disable the Adjust SDK. The button displays the correct action based on the value of the `txtSetEnabled` variable. - -- When `txtSetEnabled` = `"Disable SDK"`, the button disables the SDK and sets `txtSetEnabled` to `"Enable SDK"`. -- When `txtSetEnabled` = `"Enable SDK"`, the button enables the SDK and sets `txtSetEnabled` to `"Disable SDK"`. - -```jsx {6,10,15} -const App: () => React$Node = () => { - Adjust.getSdkVersion(function (sdkVersion) { - console.log("Adjust SDK version: " + sdkVersion); - }); - - var txtSetEnabled = "Disable SDK"; - - function _onPress_enableSdk() { - Adjust.setEnabled(true); - txtSetEnabled = "Disable SDK"; - } - - function _onPress_disableSdk() { - Adjust.setEnabled(false); - txtSetEnabled = "Enable SDK"; - } -}; - -export default App; -``` diff --git a/src/content/docs/sdk/react-native/configuration/external-device-id.mdx b/src/content/docs/sdk/react-native/configuration/external-device-id.mdx deleted file mode 100644 index af555ab257..0000000000 --- a/src/content/docs/sdk/react-native/configuration/external-device-id.mdx +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: Set external device identifiers -description: Configure an external device ID as a custom identifier for a device. -slug: en/sdk/react-native/configuration/external-device-id ---- - -import SetExternalDeviceId from "@react-native-examples/AdjustConfig/setExternalDeviceId.mdx" -import SetExternalDeviceIdSig from "@react-native-signatures/AdjustConfig/setExternalDeviceId.mdx" - -An external device identifier is a custom value that you can assign to a device or user. They help you recognize users across sessions and platforms. They can also help you deduplicate installs by user so that a user isn't counted as duplicate new installs. Contact your Adjust representative to get started with external device IDs. - -You can use an external device ID as a custom identifier for a device. This helps you keep continuity with your other systems. - - - -See the [External device identifiers article](https://help.adjust.com/en/article/external-device-identifiers) in the Adjust help center for more information. - - - -Your config object contains a **string** `externalDeviceId` property that you can use to store your external device ID. You can set property calling the `setExternalDeviceId` method with your ID as an argument. - - - -You must set your external device ID **before** initializing the Adjust SDK. - - - -The external device ID is case-sensitive. If you have imported external device IDs, make sure the value you pass matches the imported value. - - - -If you want to use the external device ID in your business analytics, you can pass it as a session callback parameter. - - - -See [Session parameters](/en/sdk/react-native/features/session-parameters) for more information. - - - -You can import existing external device IDs into Adjust. This ensures that the Adjust servers match future data to your existing device records. Contact your Adjust representative for more information. diff --git a/src/content/docs/sdk/react-native/configuration/index.mdx b/src/content/docs/sdk/react-native/configuration/index.mdx deleted file mode 100644 index 8658a3dd25..0000000000 --- a/src/content/docs/sdk/react-native/configuration/index.mdx +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Configuration -description: Follow the guides in this section to configure the Adjust SDK. -category-title: Configuration -slug: en/sdk/react-native/configuration -type: category ---- - -Follow the guides in this section to configure the Adjust SDK. diff --git a/src/content/docs/sdk/react-native/configuration/log-level.mdx b/src/content/docs/sdk/react-native/configuration/log-level.mdx deleted file mode 100644 index 9b270208ca..0000000000 --- a/src/content/docs/sdk/react-native/configuration/log-level.mdx +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Set log level -description: Configure the Adjust SDK's logging verbosity. -slug: en/sdk/react-native/configuration/log-level ---- - -import SetLogLevel from "@react-native-examples/AdjustConfig/setLogLevel.mdx"; -import SetLogLevelSig from "@react-native-signatures/AdjustConfig/setLogLevel.mdx"; - -The Adjust SDK provides configurable log levels to return different amounts of information. The following log levels are available: - - - -| Log level | Description | -| ------------------------------- | ------------------------------------------ | -| `AdjustConfig.LogLevelVerbose` | Enable all logging | -| `AdjustConfig.LogLevelDebug` | Enable debug logging | -| `AdjustConfig.LogLevelInfo` | Only show info level logs (default option) | -| `AdjustConfig.LogLevelWarn` | Disable info logging | -| `AdjustConfig.LogLevelError` | Disable warning level logging and below | -| `AdjustConfig.LogLevelAssert` | Disable error level logging and below | -| `AdjustConfig.LogLevelSuppress` | Suppress all logging | - -
- -You can set your log level by calling the `setLogLevel` method on your `AdjustConfig` instance. - - - -## Disable all logging - -To disable all log output when initializing the SDK manually, call `setLogLevel(AdjustConfig.LogLevelSuppress)` on your config instance. - -```jsx {6} -const adjustConfig = new AdjustConfig( - "{YourAppToken}", - AdjustConfig.EnvironmentSandbox -); -//... -adjustConfig.setLogLevel(AdjustConfig.LogLevelSuppress); -//... -Adjust.create(adjustConfig); -``` diff --git a/src/content/docs/sdk/react-native/configuration/preinstalled.mdx b/src/content/docs/sdk/react-native/configuration/preinstalled.mdx deleted file mode 100644 index 61023e8356..0000000000 --- a/src/content/docs/sdk/react-native/configuration/preinstalled.mdx +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Send preinstalled app activity -description: Configure a campaign to send information from preinstalled apps. -slug: en/sdk/react-native/configuration/preinstalled ---- - -import SetDefaultTracker from "@react-native-examples/AdjustConfig/setDefaultTracker.mdx" -import SetDefaultTrackerSig from "@react-native-signatures/AdjustConfig/setDefaultTracker.mdx" - -You can use the Adjust SDK to record activity from apps that came preinstalled on a user's device. This enables you to send information from users who didn't download your app from a campaign. - -## Default campaign - -Configuring a default campaign enables you to attribute all preinstalls to a predefined campaign token. Adjust records all information against this token until the attribution source changes. To set this up: - -1. Create a new link in Adjust. - -```http "{token}" -https://app.adjust.com/{token} -``` - -2. Copy this token and pass it to the `setDefaultTracker` method in your app delegate file. - - - -3. Build and run your app. If you have logging enabled, you should see a message in your log - -```text -Default tracker: 'abc123'. -``` diff --git a/src/content/docs/sdk/react-native/configuration/privacy.mdx b/src/content/docs/sdk/react-native/configuration/privacy.mdx deleted file mode 100644 index 9fddc48995..0000000000 --- a/src/content/docs/sdk/react-native/configuration/privacy.mdx +++ /dev/null @@ -1,205 +0,0 @@ ---- -title: Set up privacy features -description: Configure features that you can use to handle user privacy in your app. -slug: en/sdk/react-native/configuration/privacy ---- - -import GdprForgetMe from "@react-native-examples/Adjust/gdprForgetMe.mdx"; -import GdprForgetMeSig from "@react-native-signatures/Adjust/gdprForgetMe.mdx"; -import InitWithIsEnabledNumberBoolFalse from "@react-native-examples/AdjustThirdPartySharing/initFalse.mdx"; -import InitWithIsEnabledNumberBoolTrue from "@react-native-examples/AdjustThirdPartySharing/initTrue.mdx"; -import TrackThirdPartySharing from "@react-native-signatures/Adjust/trackThirdPartySharing.mdx"; -import AddGranularOption from "@react-native-examples/AdjustThirdPartySharing/addGranularOption.mdx"; -import AddGranularOptionSig from "@react-native-signatures/AdjustThirdPartySharing/addGranularOption.mdx"; -import AddPartnerSharingSetting from "@react-native-examples/AdjustThirdPartySharing/addPartnerSharingSetting.mdx"; -import AddPartnerSharingSettingSig from "@react-native-signatures/AdjustThirdPartySharing/addPartnerSharingSetting.mdx"; -import AddGranularOptionFacebook from "@react-native-examples/AdjustThirdPartySharing/addGranularOptionFacebook.mdx"; -import DisableThirdPartySharing from "@react-native-examples/Adjust/disableThirdPartySharing.mdx"; -import DisableThirdPartySharingSig from "@react-native-signatures/Adjust/disableThirdPartySharing.mdx"; -import SetUrlStrategy from "@react-native-examples/AdjustConfig/setUrlStrategy.mdx"; -import SetUrlStrategySig from "@react-native-signatures/AdjustConfig/setUrlStrategy.mdx"; -import TrackMeasurementConsent from "@react-native-examples/Adjust/trackMeasurementConsent.mdx"; -import TrackMeasurementConsentSig from "@react-native-signatures/Adjust/trackMeasurementConsent.mdx"; - -The Adjust SDK contains features that you can use to handle user privacy in your app. - -## GDPR right to be forgotten - -Article 17 of the European Union's GDPR (General Data Protection Regulation) grants users the right to be forgotten. When Adjust's servers receive an RTBF (Right to be Forgotten) request, Adjust erases the user's data. The SDK also stops sending requests from the device for the app in question. - -You can send the user's RTBF request to Adjust by calling the `gdprForgetMe` method. - - - -## Third-party sharing for specific users - -You can use the Adjust SDK to record when a user changes their third-party sharing settings. - -### Disable third-party sharing - -Some users may want to opt-out of sharing their data with third-parties. To communicate this to Adjust, call the `trackThirdPartySharing` method with an [`ADJThirdPartySharing` object](/en/sdk/ios/reference/adjthirdpartysharing) initialized with a `false` value. When Adjust's servers receive this information, Adjust stops sharing the user's data with third-parties. The Adjust SDK continues to work as expected. - - - -### Enable third-party sharing - - - -### Send granular information - -You can attach granular information when a user updates their third-party sharing preferences. Use this information to communicate more detail about a user's decision. To do this, call the `addGranularOption` method with your partner name and your options. - - - -### Update partner settings - -You can use the Adjust SDK to update your third party sharing settings on a per-partner basis. To do this, call the `addPartnerSharingSetting` method with your partner name and your options. - - - - - -| Partner name | String value | -| ----------------------- | --------------------------- | -| AppleAds | `apple_ads` | -| Facebook | `facebook` | -| GoogleAds | `adwords` | -| GoogleMarketingPlatform | `google_marketing_platform` | -| Snapchat | `snapchat` | -| Tencent | `tencent` | -| TikTokSan | `tiktok_san` | -| Twitter | `twitter` | -| YahooGemini | `yahoo_gemini` | -| YahooJapanSearch | `yahoo_japan_search` | - -
- -#### Manage Facebook Limited Data Use - - - -The Adjust SDK sends information to Facebook as soon as the app is installed. You need to make sure you call this method **before** initializing the SDK. - - - -Facebook provides a feature called LDU (Limited Data Use) to comply with the CCPA (California Consumer Privacy Act). This feature enables you to notify Facebook when a California-based user is opted out of the sale of data. You can also use it if you want to opt all users out by default. - -You can update the Facebook LDU status by passing arguments to the `addGranularOption` method. - - - - - -| Parameter | Description | -| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `partner_name` | Use `facebook` to toggle LDU. | -| `data_processing_options_country` | The country in which the user is located.
  • `0`: Request that Facebook use geolocation.
  • `1`: United States of America.
| -| `data_processing_options_state` | Notifies Facebook in which state the user is located.
  • `0`: Request that Facebook use geolocation.
  • `1000`: California.
| - -
- - - -If you call this method with a `0` value for **either** `data_processing_options_country` or `data_processing_options_state`, the Adjust SDK passes **both** fields back as `0`. - - - -#### Provide consent data to Google (Digital Markets Act compliance) - - - -Passing these options is required if you use Google Ads or Google Marketing Platform and have users located in the European Economic Area (EEA). - - - - - -To comply with the EU's Digital Markets Act (DMA), Google Ads and the Google Marketing Platform require explicit consent to receive Adjust’s attribution requests to their APIs. To communicate this consent, you need to add the following granular options to your third party sharing instance for the partner `google_dma`. - - - - - -| Key | Value | Description | -| -------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `eea` | `1` (positive) \| `0` (negative) | Informs Adjust whether users installing the app are within the European Economic Area.
This includes EU member states, Switzerland, Norway, Iceland and Slovenia. | -| `ad_personalization` | `1` (positive) \| `0` (negative) | Informs Adjust whether users consented with being served personalized ads via Google Ads and/or Google Marketing Platform.
This parameter also informs the `npa` parameter reserved for Google Marketing Platform. | -| `ad_user_data` | `1` (positive) \| `0` (negative) | Informs Adjust whether users consented with their advertiser ID being leveraged for attribution purposes. | - -
- -```jsx -var adjustThirdPartySharing = new AdjustThirdPartySharing(null); -adjustThirdPartySharing.addGranularOption("google_dma", "eea", "1"); -adjustThirdPartySharing.addGranularOption( - "google_dma", - "ad_personalization", - "1", -); -adjustThirdPartySharing.addGranularOption("google_dma", "ad_user_data", "1"); -Adjust.trackThirdPartySharing(adjustThirdPartySharing); -``` - -## Disable third-party sharing - -To disable third-party sharing for all users, call the `disableThirdPartySharing` method. When Adjust's servers receive this information, Adjust stops sharing the user's data with third-parties. The Adjust SDK continues to work as expected. - - - -## Data residency - -The data residency feature allows you to choose the country in which Adjust stores your data. This is useful if you're operating in a country with strict privacy requirements. When you set up data residency, Adjust stores your data in a data center located in the region your have chosen. - -To set your country of data residency, call the `setUrlStrategy` method on your `AdjustConfig` instance. - - - - - -| Value | Description | -| ------------------------ | --------------------------------------------------------- | -| `AdjustDataResidencyEU` | Sets the area of data residency to the EU | -| `AdjustDataResidencyTR` | Sets the area of data residency to Turkey | -| `AdjustDataResidencyUS` | Sets the area of data residency to the USA | -| `AdjustUrlStrategyChina` | Points the URL strategy to the `app.adjust.world` domain | -| `AdjustUrlStrategyCn` | Points the URL strategy to the `app.adjust.cn` domain | -| `AdjustUrlStrategyIndia` | Points the URL strategy to the `app.adjust.net.in` domain | - -
- -## Consent measurement for specific users - -If you are using [Data Privacy settings](https://help.adjust.com/en/article/manage-data-collection-and-retention) in your Adjust dashboard, you need to set up the Adjust SDK to work with them. This includes settings such as consent expiry period and user data retention period. To toggle this feature, call the `trackMeasurementConsent` method. When enabled, the SDK communicates the data privacy settings to Adjust's servers. Adjust's servers then applies your data privacy rules to the user. The Adjust SDK continues to work as expected. - - - -## COPPA compliance - -import SetCoppaCompliantEnabledSig from "@react-native-signatures/AdjustConfig/setCoppaCompliantEnabled.mdx"; - -If you need your app to be COPPA compliant, call the `setCoppaCompliantEnabled` method. This method performs the following actions: - -1. Disables third-party sharing **before** the user launches their first session. -2. Prevents the SDK from reading device and advertising IDs (For example: `gps_adid` and `android_id`). - -import SetCoppaCompliantEnabled from "@react-native-examples/AdjustConfig/setCoppaCompliantEnabled.mdx"; - - - -You can disable this method by calling it with a `false` parameter. - - - -Disabling the `setCoppaCompliantEnabled` method _doesn't_ re-enable third-party sharing. You need to re-enable third-party sharing for the user. - - - -## Play Store Kids Apps (Android only) - -import SetPlayStoreKidsAppEnabledSig from "@react-native-signatures/AdjustConfig/setPlayStoreKidsAppEnabled.mdx"; - -If your app targets users under the age of 13, and the install region **isn't** the USA, you need to mark it as a Kids App. This prevents the SDK from reading device and advertising IDs, that's, `gps_adid` and `android_id`. To do this, call the `setPlayStoreKidsAppEnabled` method with a `true` parameter. - -import SetPlayStoreKidsAppEnabled from "@react-native-examples/AdjustConfig/setPlayStoreKidsAppEnabled.mdx"; - - diff --git a/src/content/docs/sdk/react-native/configuration/push-tokens.mdx b/src/content/docs/sdk/react-native/configuration/push-tokens.mdx deleted file mode 100644 index 6c366f77c9..0000000000 --- a/src/content/docs/sdk/react-native/configuration/push-tokens.mdx +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: Set up push tokens -description: Configure push tokens for your app. -slug: en/sdk/react-native/configuration/push-tokens ---- - -import SetPushToken from "@react-native-examples/Adjust/setPushToken.mdx" -import SetPushTokenSig from "@react-native-signatures/Adjust/setPushToken.mdx" - -Push tokens are used for [Audience Builder](https://help.adjust.com/en/article/audience-builder) and client callbacks. They're also required for [Uninstall and reinstall tracking](https://help.adjust.com/en/article/uninstalls-reinstalls). - -Your config object contains a string `pushToken` property that you can use to store your push token. You can update this property at any time by calling the `setPushToken` method and passing your token as an argument. - - - -## Example - -This example shows how to set a new push token with the value _`HrFmrcq96tj723aWFfrw`_ to track your app's retention rates. You can update this value at any time by passing a new token to the `setPushToken` method as an argument: - -```jsx '"HrFmrcq96tj723aWFfrw"' -Adjust.setPushToken("HrFmrcq96tj723aWFfrw"); -``` diff --git a/src/content/docs/sdk/react-native/features/ad-revenue.mdx b/src/content/docs/sdk/react-native/features/ad-revenue.mdx index fd9cd78ca2..8792e0f52c 100644 --- a/src/content/docs/sdk/react-native/features/ad-revenue.mdx +++ b/src/content/docs/sdk/react-native/features/ad-revenue.mdx @@ -4,23 +4,6 @@ description: Record ad revenue information for supported network partners using slug: en/sdk/react-native/features/ad-revenue --- -import TrackAdRevenue from "@react-native-examples/Adjust/trackAdRevenue.mdx"; -import TrackAdRevenueSig from "@react-native-signatures/Adjust/trackAdRevenue.mdx"; -import SetRevenue from "@react-native-examples/AdjustAdRevenue/setRevenue.mdx"; -import SetRevenueSig from "@react-native-signatures/AdjustAdRevenue/setRevenue.mdx"; -import SetAdImpressionsCount from "@react-native-examples/AdjustAdRevenue/setAdImpressionsCount.mdx"; -import SetAdImpressionsCountSig from "@react-native-signatures/AdjustAdRevenue/setAdImpressionsCount.mdx"; -import SetAdRevenueNetwork from "@react-native-examples/AdjustAdRevenue/setAdRevenueNetwork.mdx"; -import SetAdRevenueNetworkSig from "@react-native-signatures/AdjustAdRevenue/setAdRevenueNetwork.mdx"; -import SetAdRevenueUnit from "@react-native-examples/AdjustAdRevenue/setAdRevenueUnit.mdx"; -import SetAdRevenueUnitSig from "@react-native-signatures/AdjustAdRevenue/setAdRevenueUnit.mdx"; -import SetAdRevenuePlacement from "@react-native-examples/AdjustAdRevenue/setAdRevenuePlacement.mdx"; -import SetAdRevenuePlacementSig from "@react-native-signatures/AdjustAdRevenue/setAdRevenuePlacement.mdx"; -import AddCallbackParameter from "@react-native-examples/AdjustAdRevenue/addCallbackParameter.mdx"; -import AddCallbackParameterSig from "@react-native-signatures/AdjustAdRevenue/addCallbackParameter.mdx"; -import AddPartnerParameter from "@react-native-examples/AdjustAdRevenue/addPartnerParameter.mdx"; -import AddPartnerParameterSig from "@react-native-signatures/AdjustAdRevenue/addPartnerParameter.mdx"; - You can record ad revenue for [supported network partners](https://help.adjust.com/en/article/ad-revenue) using the Adjust SDK. @@ -29,14 +12,17 @@ You need to perform some extra setup steps in your Adjust dashboard to measure a -To send ad revenue to Adjust: +## Instantiate an AdjustAdRevenue object + +```ts title="Method signature" +constructor(source: string) +``` -1. Create a new Adjust ad revenue instance and pass your ad revenue source as an argument. -2. Call the `trackAdRevenue` method with your ad revenue instance as an argument. +To send ad revenue information with the Adjust SDK, you need to instantiate an `AdjustAdRevenue` object. This object contains variables that are sent to Adjust when ad revenue is recorded in your app. - +To instantiate an ad revenue object, create a new `AdjustAdRevenue` instance and pass the following parameters: -## Sources +- `source` (**String**): The source of the ad revenue. See the table below for available sources @@ -53,15 +39,36 @@ To send ad revenue to Adjust:
-## Record ad revenue amount +```jsx {1} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` -You can record ad revenue by setting the `revenue` and `currency` properties on your ad revenue instance. +## Send ad revenue -To set these properties, call the `setRevenue` method and pass the following arguments: +```ts title="Method signature" +trackAdRevenue: ((source: string, payload: string) => void) & ((source: AdjustAdRevenue) => void) +``` -`revenue` **number**: The amount of revenue +To send ad revenue to Adjust, call the `trackAdRevenue` method with your ad revenue instance as an argument. -`currency` **string**: The 3 character [ISO 4217 code](https://www.iban.com/currency-codes) of your reporting currency +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` + +## Record ad revenue amount + +```ts title="Method signature" +public setRevenue(revenue: number, currency: string): void +``` + +To send the ad revenue amount, call the `setRevenue` method and pass the following arguments: + +- `revenue` (**Double**): The amount of revenue +- `currency` (**String**): The 3 character [ISO 4217 code](https://www.iban.com/currency-codes) of your reporting currency @@ -69,38 +76,94 @@ Check the [guide to tracking purchases in different currencies](https://help.adj - +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.setRevenue(1.0, "EUR"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ## Record ad campaign details -The ad revenue object contains properties you can use to report on your ad campaigns. +The `AdjustAdRevenue` class contains properties you can use to report on your ad campaigns. ### Ad impressions -Record the number of ad impressions by passing an **integer** value to the `setAdImpressionsCount` method. +```ts title="Method signature" +public setAdImpressionsCount(adImpressionsCount: number): void +``` + +To send the number of recorded ad impressions, call the `setAdImpressionsCount` method and pass the following arguments: - +- `adImpressionsCount` (**Integer**): The number of ad impressions. + +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.setAdImpressionsCount(10); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ### Ad revenue network -Record which network generated the revenue by passing a **string** value to the `setAdRevenueNetwork` method. +```ts title="Method signature" +public setAdRevenueNetwork(adRevenueNetwork: string): void +``` + +To send the ad revenue network, call the `setAdRevenueNetwork` method and pass the following arguments: - +- `adRevenueNetwork` (**String**): The network name. + +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.setAdRevenueNetwork("network1"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ### Ad revenue unit -Record which ad revenue unit generated the revenue by passing a **string** value to the `setAdRevenueUnit` method. +```ts title="Method signature" +public setAdRevenueUnit(adRevenueUnit: string): void +``` + +To send the ad revenue unit, call the `setAdRevenueUnit` method and pass the following arguments: - +- `adRevenueUnit` (**String**): The ad unit. + +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.setAdRevenueUnit("unit1"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ### Ad revenue placement +```ts title="Method signature" +public setAdRevenuePlacement(adRevenuePlacement: string): void +``` + Record the placement of your ad by passing a **string** value to the `setAdRevenuePlacement` method. - +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.setAdRevenuePlacement("banner"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ## Add callback parameters +```ts title="Method signature" +public addCallbackParameter(key: string, value: string): void +``` + If you [register a callback URL](https://help.adjust.com/en/article/recommended-placeholders-callbacks) in the Adjust dashboard, the SDK sends a GET request to your callback URL when it records an event. You can configure callback parameters to your servers. Once you configure parameters on an event, the SDK appends them to your [callback URL](https://help.adjust.com/en/article/raw-data-exports). You can use this information to analyze your users' in-app behavior with your BI system. @@ -129,10 +192,20 @@ You can read more about using URL callbacks, including a full list of available - +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.addCallbackParameter("key", "value"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ## Add partner parameters +```ts title="Method signature" +public addPartnerParameter(key: string, value: string): void +``` + You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/data-sharing-ad-network#map-parameters). Adjust sends partner parameters to [external partners](https://help.adjust.com/en/article/integrated-partners) you have set up. This information is useful for more granular analysis and retargeting purposes. Adjust's servers forward these parameters once you have set them up and enabled them for a partner. @@ -145,7 +218,13 @@ Partner parameters don't appear in raw data by default. You can add the `{partne Add partner parameters to your event by calling the `addPartnerParameter` method with **string** key-value arguments. You can add multiple parameters by calling this method multiple times. - +```jsx {3} +var adjustAdRevenue = new AdjustAdRevenue("source"); +//... +adjustAdRevenue.addPartnerParameter("key", "value"); +//... +Adjust.trackAdRevenue(adjustAdRevenue); +``` ## Example @@ -161,8 +240,8 @@ This example shows how to set up and record an ad revenue object with the follow - A partner parameter: `"key2" = "value2"` ```jsx -var adjustAdRevenue = new AdjustAdRevenue("source"); -adjustAdRevenue.setRevenue(1.00, "EUR"); +var adjustAdRevenue = new AdjustAdRevenue(AdjustConfig.AdRevenueSourceAppLovinMAX); +adjustAdRevenue.setRevenue(1.0, "EUR"); adjustAdRevenue.setAdImpressionsCount(10); adjustAdRevenue.setAdRevenueNetwork("network1"); adjustAdRevenue.setAdRevenueUnit("unit1"); diff --git a/src/content/docs/sdk/react-native/configuration/att.mdx b/src/content/docs/sdk/react-native/features/att.mdx similarity index 73% rename from src/content/docs/sdk/react-native/configuration/att.mdx rename to src/content/docs/sdk/react-native/features/att.mdx index f5ae89757f..7349eaf09b 100644 --- a/src/content/docs/sdk/react-native/configuration/att.mdx +++ b/src/content/docs/sdk/react-native/features/att.mdx @@ -1,16 +1,10 @@ --- title: Set up App Tracking Transparency description: Configure your app to use Apple's App Tracking Transparency framework -slug: en/sdk/react-native/configuration/att +slug: en/sdk/react-native/features/att --- -import RequestTrackingAuthorization from "@react-native-examples/Adjust/requestTrackingAuthorization.mdx" -import AppTrackingAuthorizationStatus from "@react-native-examples/Adjust/appTrackingAuthorizationStatus.mdx" -import AppTrackingAuthorizationStatusSig from "@react-native-signatures/Adjust/appTrackingAuthorizationStatus.mdx" -import CheckForNewAttStatus from "@react-native-examples/Adjust/checkForNewAttStatus.mdx" -import CheckForNewAttStatusSig from "@react-native-signatures/Adjust/checkForNewAttStatus.mdx" - -If you want to record the device's IDFA (ID for Advertisers), you must display a prompt to get your user's authorization. To do this, you need to include Apple's ATT (App Tracking Transparency) framework in your app. The Adjust SDK stores the user's authorization status and sends it to Adjust's servers with each request. +If you want to record the device's ID for Advertisers (IDFA), you must display a prompt to get your user's authorization. To do this, you need to include Apple's App Tracking Transparency (ATT) framework in your app. The Adjust SDK stores the user's authorization status and sends it to Adjust's servers with each request. ## Authorization statuses @@ -33,14 +27,15 @@ You might receive a status code of `-1` if the SDK is unable to retrieve the ATT ## App-tracking authorization wrapper +```ts title="Method signature" +requestTrackingAuthorizationWithCompletionHandler: (handler: (status: number) => void) => void +``` + The Adjust SDK contains a wrapper around [Apple's `requestTrackingAuthorizationWithCompletionHandler` method](https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547037-requesttrackingauthorizationwith). You can use this wrapper if you don't want to customize the ATT prompt. The callback method triggers when your user responds to the consent dialog. This method sends the user's consent status code to Adjust's servers. You can define responses to each status code within the callback function. -You must specify text content for the tracking request dialog. You can add this to your project in two ways: - -1. Add your text to the **User Tracking Description** field in the Adjust prefab. -2. Add your text to the `NSUserTrackingUsageDescription` key in your `Info.plist` file. +You must specify text content for the tracking request dialog. To do this, add your text to the `NSUserTrackingUsageDescription` key in your `Info.plist` file. @@ -48,7 +43,24 @@ The Adjust SDK also records the consent status if you use a custom prompt. If yo - +```jsx +Adjust.requestTrackingAuthorizationWithCompletionHandler(function (status) { + switch (status) { + case 0: + // ATTrackingManagerAuthorizationStatusNotDetermined case + break; + case 1: + // ATTrackingManagerAuthorizationStatusRestricted case + break; + case 2: + // ATTrackingManagerAuthorizationStatusDenied case + break; + case 3: + // ATTrackingManagerAuthorizationStatusAuthorized case + break; + } +}); +``` ### Example @@ -81,9 +93,15 @@ Adjust.requestTrackingAuthorizationWithCompletionHandler(function (status) { ## Get current authorization status -You can retrieve a user's current authorization status at any time. Call the `appTrackingAuthorizationStatus` method to return the authorization status code as an **integer**. +```ts title="Method signature" +getAppTrackingAuthorizationStatus: (callback: (authorizationStatus: number) => void) => void +``` - +You can retrieve a user's current authorization status at any time. Call the `getAppTrackingAuthorizationStatus` method to return the authorization status code as an **integer**. + +```jsx +Adjust.getAppTrackingAuthorizationStatus(); +``` ### Example @@ -96,6 +114,12 @@ Adjust.addSessionPartnerParameter("status", authorizationStatus); ## Check for authorization status changes +```ts title="Method signature" +checkForNewAttStatus: () => void +``` + If you use a custom ATT prompt, you need to inform the Adjust SDK of changes to the user's authorization status. Call the `checkForNewAttStatus` method to send the authorization status to Adjust's servers. - +```jsx +Adjust.checkForNewAttStatus(); +``` diff --git a/src/content/docs/sdk/react-native/features/attribution.mdx b/src/content/docs/sdk/react-native/features/attribution.mdx index c668e90eea..862fedb375 100644 --- a/src/content/docs/sdk/react-native/features/attribution.mdx +++ b/src/content/docs/sdk/react-native/features/attribution.mdx @@ -4,14 +4,49 @@ description: Listen for attribution changes using the Adjust SDK slug: en/sdk/react-native/features/attribution --- -import SetAttributionCallbackListener from "@react-native-examples/AdjustConfig/setAttributionCallbackListener.mdx"; -import SetAttributionCallbackListenerSig from "@react-native-signatures/AdjustConfig/setAttributionCallbackListener.mdx"; -import Attribution from "@react-native-examples/Adjust/getAttribution.mdx"; -import AttributionSig from "@react-native-signatures/Adjust/getAttribution.mdx"; +When a user interacts with an Adjust link, their attribution information updates. This can happen if the user interacts with a [deep link](https://help.adjust.com/en/article/deep-links). Information about a user's attribution is represented in the `AdjustAttribution` class. -When a user interacts with a campaign link, their attribution information updates. This can happen if the user interacts with a [deep link](https://help.adjust.com/en/article/deep-links). The SDK can listen for attribution changes and call a function when it detects an update. +## AdjustAttribution class properties -To configure your callback function, call the `setAttributionCallbackListener` method with your function name as an argument. +The `AdjustAttribution` class contains details about the current attribution status of the device. Any values that aren't populated for the user are returned as a `null` value. + + + +The following values can only be accessed if the [`needsCost` property on your `AdjustConfig` instance](/en/sdk/react-native/configuration#enable-cost-data-sending) is `true`: + +- `costType` +- `costAmount` +- `costCurrency` + + + + + +| Values | Data type | Description | +| ------------------- | --------- | -------------------------------------------------------------------------------------------------------------- | +| `trackerToken` | String | The token of the tracker to which the device is currently attributed | +| `trackerName` | String | The name of the tracker to which the device is currently attributed | +| `network` | String | The name of the network to which the device is currently attributed | +| `campaign` | String | The name of the campaign to which the device is currently attributed | +| `adgroup` | String | The name of the adgroup to which the device is currently attributed | +| `creative` | String | The name of the creative to which the device is currently attributed | +| `clickLabel` | String | The [click label](https://help.adjust.com/en/article/user-rewards) that the install is tagged with | +| `adid` | String | The unique Adjust ID assigned to the device | +| `costType` | String | The campaign pricing model (for example cpi) | +| `costAmount` | Number | The cost of the install. | +| `costCurrency` | String | The [3 character ISO 4217 code](https://www.iban.com/currency-codes) of the currency associated with the cost. | +| `fbInstallReferrer` | String | The [Facebook install referrer](https://developers.facebook.com/docs/app-ads/install-referrer/). | + +
+ +## Trigger a function when attribution changes + +```dart title="Property declaration" +typedef void AttributionCallback(AdjustAttribution attributionData); +AttributionCallback? attributionCallback; +``` + +The SDK can listen for attribution changes and call a function when it detects an update. To configure your callback function, call the `setAttributionCallbackListener` method with your function as an argument. @@ -19,14 +54,46 @@ You must call the `setAttributionCallbackListener` method **before** initializin - +```jsx {3-18} +const adjustConfig = new AdjustConfig(appToken, environment); + +adjustConfig.setAttributionCallbackListener(function (attribution) { + // Printing all attribution properties. + console.log("Attribution changed!"); + console.log(attribution.trackerToken); + console.log(attribution.trackerName); + console.log(attribution.network); + console.log(attribution.campaign); + console.log(attribution.adgroup); + console.log(attribution.creative); + console.log(attribution.clickLabel); + console.log(attribution.adid); + console.log(attribution.costType); + console.log(attribution.costAmount); + console.log(attribution.costCurrency); + console.log(attribution.fbInstallReferrer); +}); -Within your delegate function, you have access to the user's `Attribution` information. See the [`AdjustAttribution` class reference](/en/sdk/react-native/reference/adjustattribution) for a list of available properties. +Adjust.create(adjustConfig); +``` ## Get current attribution information -When a user installs your app, Adjust attributes the install to a campaign. The Adjust SDK gives you access to campaign attribution details for your install. To return this information, call the `getAttribution` method. +```ts title="Method signature" +getAttribution: (callback: (attribution: AdjustAttribution) => void) => void +``` -This method returns an Attribution object. See the [`AdjustAttribution` class reference](/en/sdk/react-native/reference/adjustattribution) for a list of available properties. +When a user installs your app, Adjust attributes the install to a campaign. The Adjust SDK gives you access to campaign attribution details for your install. To return this information, call the `getAttribution` method to return the attribution information as an `AdjustAttribution` object. - +```jsx +Adjust.getAttribution((attribution) => { + console.log("Tracker token = " + attribution.trackerToken); + console.log("Tracker name = " + attribution.trackerName); + console.log("Network = " + attribution.network); + console.log("Campaign = " + attribution.campaign); + console.log("Adgroup = " + attribution.adgroup); + console.log("Creative = " + attribution.creative); + console.log("Click label = " + attribution.clickLabel); + console.log("Adid = " + attribution.adid); +}); +``` diff --git a/src/content/docs/sdk/react-native/features/callbacks.mdx b/src/content/docs/sdk/react-native/features/callbacks.mdx index 8a1146afb7..e8eafb0ade 100644 --- a/src/content/docs/sdk/react-native/features/callbacks.mdx +++ b/src/content/docs/sdk/react-native/features/callbacks.mdx @@ -4,12 +4,7 @@ description: Set up callbacks to trigger functions when the SDK sends informatio slug: en/sdk/react-native/features/callbacks --- -import SetSessionTrackingSucceededCallbackListener from "@react-native-examples/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx"; -import SetEventTrackingSucceededCallbackListener from "@react-native-examples/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx"; -import SetSessionTrackingFailedCallbackListener from "@react-native-examples/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx"; -import SetEventTrackingFailedCallbackListener from "@react-native-examples/AdjustConfig/setEventTrackingFailedCallbackListener.mdx"; - -Set up callbacks to trigger functions when the SDK sends information to Adjust. You can set up callbacks for sessions and events. +Set up callbacks to trigger functions when the SDK sends information to Adjust. You can set up callbacks for **sessions** and **events**. @@ -30,16 +25,40 @@ Session callbacks have access to a response data object. You can use its propert | `Message` | String | The message from the server or the error logged by the SDK. | | `Timestamp` | String | The timestamp from Adjust's servers. | | `Adid` | String | A unique device identifier provided by Adjust. | -| `JsonResponse` | Dictionary \ | The JSOaN object with the response from the server. | +| `JsonResponse` | Dictionary `` | The JSON object with the response from the server. | | `WillRetry` | Boolean | Indicates whether there will be an attempt to resend a failed package. | ### Success callbacks +```ts title="Method signature" +public setSessionTrackingSucceededCallbackListener( + callback: (sessionSuccess: AdjustSessionTrackingSuccess) => void +): void +``` + Set up success callbacks to trigger functions when the SDK records a session. - +```jsx {6-15} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setSessionTrackingSucceededCallbackListener(function ( + sessionSuccess +) { + // Printing all session success properties. + console.log("Session tracking succeeded!"); + console.log(sessionSuccess.message); + console.log(sessionSuccess.timestamp); + console.log(sessionSuccess.adid); + console.log(sessionSuccess.jsonResponse); +}); +//... +Adjust.create(adjustConfig); +``` #### Example @@ -62,9 +81,34 @@ Adjust.create(adjustConfig); ### Failure callbacks +```ts title="Method signature" +public setSessionTrackingFailedCallbackListener( + callback: (sessionFailed: AdjustSessionTrackingFailure) => void +): void +``` + Set up failure callbacks to trigger functions when the SDK fails to record a session. - +```jsx {6-16} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setSessionTrackingFailedCallbackListener(function ( + sessionFailure +) { + // Printing all session failure properties. + console.log("Session tracking failed!"); + console.log(sessionFailure.message); + console.log(sessionFailure.timestamp); + console.log(sessionFailure.adid); + console.log(sessionFailure.willRetry); + console.log(sessionFailure.jsonResponse); +}); +//... +Adjust.create(adjustConfig); +``` #### Example @@ -98,18 +142,42 @@ Event callbacks have access to a response data object. You can use its propertie | `Message` | String | The message from the server or the error logged by the SDK. | | `Timestamp` | String | The timestamp from Adjust's servers. | | `Adid` | String | A unique device identifier provided by Adjust. | -| `JsonResponse` | Dictionary \ | The JSON object with the response from the server. | | `EventToken` | String | The event token | | `CallbackId` | String | The custom callback ID set on the event object | +| `JsonResponse` | Dictionary `` | The JSON object with the response from the server. | | `WillRetry` | Boolean | Indicates whether there will be an attempt to resend a failed package. | ### Success callbacks +```jsx title="Method signature" +public setEventTrackingSucceededCallbackListener( + callback: (eventSuccess: AdjustEventTrackingSuccess) => void +): void +``` + Set up success callbacks to trigger functions when the SDK records an event. - +```jsx {6-15} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setEventTrackingSucceededCallbackListener(function (eventSuccess) { + // Printing all event success properties. + console.log("Event tracking succeeded!"); + console.log(eventSuccess.message); + console.log(eventSuccess.timestamp); + console.log(eventSuccess.eventToken); + console.log(eventSuccess.callbackId); + console.log(eventSuccess.adid); + console.log(eventSuccess.jsonResponse); +}); +//... +Adjust.create(adjustConfig); +``` #### Example @@ -130,9 +198,34 @@ Adjust.create(adjustConfig); ### Failure callbacks +```ts title="Method signature" +public setEventTrackingFailedCallbackListener( + callback: (eventFailed: AdjustEventTrackingFailure) => void +): void +``` + Set up failure callbacks to trigger functions when the SDK fails to record an event. - +```jsx {6-16} +const adjustConfig = new AdjustConfig( + "{Your App Token}", + AdjustConfig.EnvironmentSandbox +); +adjustConfig.setLogLevel(AdjustLogLevel.Verbose); +adjustConfig.setEventTrackingFailedCallbackListener(function (eventFailure) { + // Printing all event failure properties. + console.log("Event tracking failed!"); + console.log(eventFailure.message); + console.log(eventFailure.timestamp); + console.log(eventFailure.eventToken); + console.log(eventFailure.callbackId); + console.log(eventFailure.adid); + console.log(eventFailure.willRetry); + console.log(eventFailure.jsonResponse); +}); +//... +Adjust.create(adjustConfig); +``` #### Example diff --git a/src/content/docs/sdk/react-native/features/device-info.mdx b/src/content/docs/sdk/react-native/features/device-info.mdx index 3402783544..8bb46df630 100644 --- a/src/content/docs/sdk/react-native/features/device-info.mdx +++ b/src/content/docs/sdk/react-native/features/device-info.mdx @@ -4,41 +4,64 @@ description: Use these methods to add details to your callbacks and improve your slug: en/sdk/react-native/features/device-info --- -import GetIdfa from "@react-native-examples/Adjust/getIdfa.mdx" -import GetIdfaSig from "@react-native-signatures/Adjust/getIdfa.mdx" -import GetAdid from "@react-native-examples/Adjust/getAdid.mdx" -import GetAdidSig from "@react-native-signatures/Adjust/getAdid.mdx" -import GetAmazonAdId from "@react-native-examples/Adjust/getAmazonAdId.mdx" -import GetAmazonAdIdSig from "@react-native-signatures/Adjust/getAmazonAdId.mdx" -import GetGoogleAdId from "@react-native-examples/Adjust/getGoogleAdId.mdx" -import GetGoogleAdIdSig from "@react-native-signatures/Adjust/getGoogleAdId.mdx" - The Adjust SDK contains helper methods that return device information. Use these methods to add details to your callbacks and improve your reporting. ## Adjust device identifier -Adjust generates a unique ADID (Adjust Device ID) for each device. Call the `getAdid` method to return this ID as a **string**. +```ts title="Method signature" +getAdid: (callback: (adid: string) => void) => void +``` + +Adjust generates a unique Adjust Device ID (ADID) for each device. Call the `getAdid` method to return this ID as a **string**. - +```jsx +Adjust.getAdid((adid) => { + console.log("ADID = " + adid); +}); +``` ## ID For Advertisers -The IDFA (ID for Advertisers) is a device-specific identifier for Apple devices. Call the `getIdfa` method to return this ID as a **string**. +```ts title="Method signature" +getIdfa: (callback: (idfa: string) => void) => void +``` + +The ID for Advertisers (IDFA) is a device-specific identifier for Apple devices. Call the `getIdfa` method to return this ID as a **string**. - +```jsx +Adjust.getIdfa((idfa) => { + console.log("IDFA = " + idfa); +}); +``` ## Google Play Services Advertising ID -The GPS ADID (Google Play Services Advertising ID) is a device-specific identifier for Android devices. +```ts title="Method signature" +getGoogleAdId: (callback: (adid: string) => void) => void +``` + +The Google Play Services Advertising ID (GPS ADID) is a device-specific identifier for Android devices. Users can opt out of sharing their GPS ADID by toggling the "Opt out of Ads Personalization" setting on their device. When a user enables this setting, the Adjust SDK returns a string of zeros when trying to read the GPS ADID. You can access this value by calling the `getGoogleAdId` method in a background thread. Assign a delegate function to access the GPS ADID value. - +```jsx +Adjust.getGoogleAdId((googleAdId) => { + console.log("Google Ad ID = " + googleAdId); +}); +``` ## Amazon Advertiser ID -The Amazon Ad ID (Amazon Advertising ID) is a device-specific identifier for Android devices. Call the `getAmazonAdId` method to return this ID as a **string**. +```ts title="Method signature" +getAmazonAdId: (callback: (adid: string) => void) => void +``` + +The Amazon Advertising ID (Amazon Ad ID) is a device-specific identifier for Android devices. Call the `getAmazonAdId` method to return this ID as a **string**. - +```jsx +Adjust.getAmazonAdId((amazonAdId) => { + console.log("Amazon Ad ID = " + amazonAdId); +}); +``` diff --git a/src/content/docs/sdk/react-native/features/events.mdx b/src/content/docs/sdk/react-native/features/events.mdx index fa98b3e9ea..a68e4b9145 100644 --- a/src/content/docs/sdk/react-native/features/events.mdx +++ b/src/content/docs/sdk/react-native/features/events.mdx @@ -4,25 +4,41 @@ description: Use these methods send event information to Adjust. slug: en/sdk/react-native/features/events --- -import TrackEvent from "@react-native-examples/Adjust/trackEvent.mdx"; -import TrackEventSig from "@react-native-signatures/Adjust/trackEvent.mdx"; -import SetRevenue from "@react-native-examples/AdjustEvent/setRevenue.mdx"; -import SetRevenueSig from "@react-native-signatures/AdjustEvent/setRevenue.mdx"; -import SetTransactionId from "@react-native-examples/AdjustEvent/setTransactionId.mdx"; -import SetTransactionIdSig from "@react-native-signatures/AdjustEvent/setTransactionId.mdx"; -import SetCallbackId from "@react-native-examples/AdjustEvent/setCallbackId.mdx"; -import SetCallbackIdSig from "@react-native-signatures/AdjustEvent/setCallbackId.mdx"; -import AddCallbackParameter from "@react-native-examples/AdjustEvent/addCallbackParameter.mdx"; -import AddCallbackParameterSig from "@react-native-signatures/AdjustEvent/addCallbackParameter.mdx"; -import AddPartnerParameter from "@react-native-examples/AdjustEvent/addPartnerParameter.mdx"; -import AddPartnerParameterSig from "@react-native-signatures/AdjustEvent/addPartnerParameter.mdx"; +The Adjust SDK provides an `AdjustEvent` object which can be used to structure and send event information from your app to Adjust's servers. + +## Instantiate an AdjustEvent object + +```ts title="Method signature" +constructor(eventToken: string) +``` + +To send event information with the Adjust SDK, you need to instantiate an `AdjustEvent` object. This object contains variables that are sent to Adjust when an event occurs in your app. + +To instantiate an event object, create a new `AdjustEvent` instance and pass the following parameters: + +- `eventToken` (**String**): Your Adjust [event token](https://help.adjust.com/en/article/add-events#manage-your-events). + +```jsx +var adjustEvent = new AdjustEvent("abc123"); +//... +Adjust.trackEvent(adjustEvent); +``` + +## Send an event + +```ts title="Method signature" +trackEvent: (adjustEvent: AdjustEvent) => void +``` You can associate your [Adjust event tokens](https://help.adjust.com/en/article/add-events#add-event) to actions in your app to record them. To record an event: - Create a new Adjust event instance and pass your event token as a string argument. - Call the `trackEvent` method with your event instance as an argument. - +```jsx +var adjustEvent = new AdjustEvent("abc123"); +Adjust.trackEvent(adjustEvent); +``` ### Example @@ -38,21 +54,75 @@ function _onPress_trackSimpleEvent() { + onPress={_onPress_trackSimpleEvent} + > Track Simple Event + - +; +``` + +```txt collapse={6-46} title="Event log" +Path: /event +ClientSdk: reactnative4.38.0 +Parameters: + android_uuid 781f17d5-5048-4fae-a4e5-77b58bab62b9 + api_level 34 + app_token 2fm9gkqubvpc + app_version 1.0 + attribution_deeplink 1 + callback_params {"key":"value","foo":"bar"} + connectivity_type 1 + country US + cpu_type arm64-v8a + created_at 2024-01-25T14:13:16.151Z+0100 + currency EUR + device_manufacturer Google + device_name sdk_gphone64_arm64 + device_type phone + display_height 2205 + display_width 1080 + environment sandbox + event_buffering_enabled 0 + event_count 3 + event_token g3mfiw + gps_adid 5962dfc1-3a53-4692-850b-22c4bf4311a5 + gps_adid_attempt 2 + gps_adid_src service + hardware_name UE1A.230829.036 + language en + mcc 310 + mnc 260 + needs_response_details 1 + os_build UE1A.230829.036 + os_name android + os_version 14 + package_name com.adjust.examples + partner_params {"key":"value","foo":"bar"} + revenue 0.25 + screen_density high + screen_format long + screen_size normal + session_count 2 + session_length 23 + subsession_count 1 + time_spent 23 + tracking_enabled 1 + ui_mode 1 ``` ## Record event revenue +```ts title="Method signature" +public setRevenue(revenue: number, currency: string): void +``` + You can record revenue associated with an event by setting the revenue and currency properties on your event instance. Use this feature to record revenue-generating actions in your app. To set these properties, call the `setRevenue` method and pass the following arguments: -`revenue` (**number**): The amount of revenue generated by the event - -`currency` (**string**): The [ISO 4217 code](https://www.iban.com/currency-codes) of the event currency. +- `revenue` (**Number**): The amount of revenue generated by the event +- `currency` (**String**): The [ISO 4217 code](https://www.iban.com/currency-codes) of the event currency. @@ -60,7 +130,13 @@ Check the guide to [tracking purchases in different currencies](https://help.adj - +```jsx {3} +var adjustEvent = new AdjustEvent("abc123"); +//... +adjustEvent.setRevenue(0.01, "EUR"); +//... +Adjust.trackEvent(adjustEvent); +``` ### Example @@ -136,11 +212,21 @@ Parameters: ## Unique events +```ts title="Method signature" +public setTransactionId(transactionId: string): void +``` + You can pass an optional identifier to avoid recording duplicate events. The SDK stores the last ten identifiers and skips revenue events with duplicate transaction IDs. To set the identifier, call the `setTransactionId` method and pass your transaction ID as a **string** argument. - +```jsx {3} +var adjustEvent = new AdjustEvent("abc123"); +//... +adjustEvent.setTransactionId("{transactionId}"); +//... +Adjust.trackEvent(adjustEvent); +``` ### Example @@ -178,17 +264,27 @@ Parameters: ## Add callback parameters +```ts title="Method signature" +public addCallbackParameter(key: string, value: string): void +``` + If you [register a callback URL](https://help.adjust.com/en/article/set-up-callbacks) in the Adjust dashboard, the SDK sends a GET request to your callback URL when it records an event. You can configure callback parameters to send to your servers. Once you configure parameters on an event, the SDK appends them to your [callback URL](https://help.adjust.com/en/article/raw-data-exports). You can use this information to analyze your users' in-app behavior with your BI system. Add callback parameters to your event by calling the `addCallbackParameter` method with **string** key-value arguments. You can add multiple parameters by calling this method multiple times. - +```jsx {3} +var adjustEvent = new AdjustEvent("abc123"); +//... +adjustEvent.addCallbackParameter("key", "value"); +//... +Adjust.trackEvent(adjustEvent); +``` The Adjust SDK measures the event and sends a request to your URL with the callback parameters. For example, if you register the URL `https://www.mydomain.com/callback`, your callback looks like this: -```http "key=value" "foo=bar" +```http https://www.mydomain.com/callback?key=value&foo=bar ``` @@ -253,6 +349,10 @@ Parameters: ## Add partner parameters +```ts title="Method signature" +public addPartnerParameter(key: string, value: string): void +``` + You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/data-sharing-ad-network#map-parameters). Adjust sends partner parameters to [external partners](https://help.adjust.com/en/article/integrated-partners) you have set up. This information is useful for more granular analysis and retargeting purposes. Adjust's servers forward these parameters once you have set them up and enabled them for a partner. @@ -265,7 +365,13 @@ Partner parameters don't appear in raw data by default. You can add the `{partne Add partner parameters to your event by calling the `addPartnerParameter` method with **string** key-value arguments. You can add multiple parameters by calling this method multiple times. - +```jsx {3} +var adjustEvent = new AdjustEvent("abc123"); +//... +adjustEvent.addPartnerParameter("key", "value"); +//... +Adjust.trackEvent(adjustEvent); +``` ### Example @@ -306,11 +412,21 @@ Parameters: ## Add a callback identifier +```ts title="Method signature" +public setCallbackId(callbackId: string): void +``` + You can add a custom string identifier to each event you want to measure. Adjust's servers can report on this identifier in event callbacks. This enables you to keep track of which events have been successfully measured. Set up this identifier by calling the `setCallbackId` method with your ID as a **string** argument. - +```jsx {3} +var adjustEvent = new AdjustEvent("abc123"); +//... +adjustEvent.setCallbackId("your_callback_id"); +//... +Adjust.trackEvent(adjustEvent); +``` ### Example @@ -325,6 +441,7 @@ function _onPress_trackUniqueCallbackEvent() { //... Adjust.trackEvent(adjustEvent); } +//... <> void +``` + +Article 17 of the European Union's General Data Protection Regulation (GDPR) grants users the right to be forgotten. When Adjust's servers receive a Right to be Forgotten (RTBF) request, Adjust erases the user's data. The SDK also stops sending requests from the device for the app in question. + +You can send the user's RTBF request to Adjust by calling the `gdprForgetMe` method. + +```jsx +Adjust.gdprForgetMe(); +``` + +## Third-party sharing for specific users + +You can use the Adjust SDK to record when a user changes their third-party sharing settings. Third party sharing settings are configured using the `AdjustThirdPartySharing` class. + +### Instantiate an AdjustThirdPartySharing object + +```ts title="Method signature" +constructor(isEnabled: boolean) +``` + +To enable or disable third party sharing with the Adjust SDK, you need to instantiate an `AdjustThirdPartySharing` object. This object contains variables that control how third party sharing is handled by Adjust. + +To instantiate a third party sharing object, create a new `AdjustThirdPartySharing` instance and pass the following parameters: + +- `isEnabled` (**Boolean**): Whether third party sharing is enabled. Pass `true` to enable third party sharing or `false` to disable third party sharing + +```jsx +var adjustThirdPartySharing = new AdjustThirdPartySharing(true); +//... +Adjust.trackThirdPartySharing(adjustThirdPartySharing); +``` + + + +If you set the `isEnabled` property to `false`, Adjust stops sharing the user's data with third parties. The Adjust SDK continues to work as expected. + + + +Once you've instantiated your `AdjustThirdPartySharing` object, you can send the information to Adjust by calling the `Adjust.trackThirdPartySharing` method with your `AdjustThirdPartySharing` instance as an argument. + +```jsx +var adjustThirdPartySharing = new AdjustThirdPartySharing(false); +//... +Adjust.trackThirdPartySharing(adjustThirdPartySharing); +``` + +### Send granular information + +```ts title="Method signature" +public addGranularOption(partnerName: string, key: string, value: string): void +``` + +You can attach granular information when a user updates their third-party sharing preferences. Use this information to communicate more detail about a user's decision. To do this, call the `addGranularOption` method with the following parameters: + +- `partnerName` (**String**): The name of the partner for whom the granular option applies. +- `key` (**String**): The option key. +- `value` (**String**): The option value. + +The following partners are available: + + + +| Partner name | String value | +| ----------------------- | --------------------------- | +| AppleAds | `apple_ads` | +| Facebook | `facebook` | +| GoogleAds | `adwords` | +| GoogleMarketingPlatform | `google_marketing_platform` | +| Snapchat | `snapchat` | +| Tencent | `tencent` | +| TikTokSan | `tiktok_san` | +| Twitter | `twitter` | +| YahooGemini | `yahoo_gemini` | +| YahooJapanSearch | `yahoo_japan_search` | + +
+ +```jsx {3} +var adjustThirdPartySharing = new AdjustThirdPartySharing(null); +//... +adjustThirdPartySharing.addGranularOption("PartnerA", "key", "value"); +//... +Adjust.trackThirdPartySharing(adjustThirdPartySharing); +``` + +### Update partner settings + +```ts title="Method signature" +public addPartnerSharingSetting(partnerName: string, key: string, value: boolean): void +``` + +You can use the Adjust SDK to update your third party sharing settings on a per-partner basis. To do this, call the `addPartnerSharingSetting` method with your partner name and your options. + +```jsx {3} +var adjustThirdPartySharing = new AdjustThirdPartySharing(null); +//... +adjustThirdPartySharing.addPartnerSharingSetting("PartnerA", "foo", false); +Adjust.trackThirdPartySharing(adjustThirdPartySharing); +``` + +#### Manage Facebook Limited Data Use + + + +The Adjust SDK sends information to Facebook as soon as the app is installed. You need to make sure you call this method **before** initializing the SDK. + + + +Facebook provides a feature called Limited Data Use (LDU) to comply with the California Consumer Privacy Act (CCPA). This feature enables you to notify Facebook when a California-based user is opted out of the sale of data. You can also use it if you want to opt all users out by default. + +You can update the Facebook LDU status by passing the following arguments to the `addGranularOption` method: + + + +| Parameter | Description | +| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `partner_name` | Use `facebook` to toggle LDU. | +| `data_processing_options_country` | The country in which the user is located.
  • `0`: Request that Facebook use geolocation.
  • `1`: United States of America.
| +| `data_processing_options_state` | Notifies Facebook in which state the user is located.
  • `0`: Request that Facebook use geolocation.
  • `1000`: California.
  • `1001`: Colorado
  • `1002`: Connecticut
| + +
+ + + +If you call this method with a `0` value for **either** `data_processing_options_country` or `data_processing_options_state`, the Adjust SDK passes **both** fields back as `0`. + + + +```jsx {3-12} +var adjustThirdPartySharing = new AdjustThirdPartySharing(null); +//... +adjustThirdPartySharing.addGranularOption( + "facebook", + "data_processing_options_country", + "1" +); +adjustThirdPartySharing.addGranularOption( + "facebook", + "data_processing_options_state", + "1000" +); +//... +Adjust.trackThirdPartySharing(adjustThirdPartySharing); +``` + +#### Provide consent data to Google (Digital Markets Act compliance) + + + +Passing these options is required if you use Google Ads or Google Marketing Platform and have users located in the European Economic Area (EEA). + + + + + +To comply with the EU's Digital Markets Act (DMA), Google Ads and the Google Marketing Platform require explicit consent to receive Adjust’s attribution requests to their APIs. To communicate this consent, you need to add the following granular options to your third party sharing instance for the partner `google_dma`. + + + + + +| Key | Value | Description | +| -------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `eea` | `1` (positive) \| `0` (negative) | Informs Adjust whether users installing the app are within the European Economic Area.
This includes EU member states, Switzerland, Norway, Iceland and Slovenia. | +| `ad_personalization` | `1` (positive) \| `0` (negative) | Informs Adjust whether users consented with being served personalized ads via Google Ads and/or Google Marketing Platform.
This parameter also informs the `npa` parameter reserved for Google Marketing Platform. | +| `ad_user_data` | `1` (positive) \| `0` (negative) | Informs Adjust whether users consented with their advertiser ID being leveraged for attribution purposes. | + +
+ +```jsx +var adjustThirdPartySharing = new AdjustThirdPartySharing(null); +adjustThirdPartySharing.addGranularOption("google_dma", "eea", "1"); +adjustThirdPartySharing.addGranularOption( + "google_dma", + "ad_personalization", + "1" +); +adjustThirdPartySharing.addGranularOption("google_dma", "ad_user_data", "1"); +Adjust.trackThirdPartySharing(adjustThirdPartySharing); +``` + +## Disable third-party sharing + +```ts title="Method signature" +disableThirdPartySharing: () => void +``` + +To disable third-party sharing for all users, call the `disableThirdPartySharing` method. When Adjust's servers receive this information, Adjust stops sharing the user's data with third parties. The Adjust SDK continues to work as expected. + +```jsx +Adjust.disableThirdPartySharing(); +``` + +## Data residency + +```ts title="Method signature" +public setUrlStrategy(urlStrategy: UrlStrategy): void +``` + +The URL strategy feature allows you to set either: + +- The country in which Adjust stores your data (data residency). +- The endpoint to which the Adjust SDK sends traffic (URL strategy). + +This is useful if you're operating in a country with strict privacy requirements. When you set your URL strategy, Adjust stores data in the selected data residency region or sends traffic to the chosen domain. + +To set your country of data residency, call the `setUrlStrategy` method on your `AdjustConfig` instance with the following parameter: + +- `urlStrategy` (**String**): The country of data residence or endpoint to which you want to send SDK traffic. + + + +| Value | Description | +| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `AdjustConfig.DataResidencyEU` | Sets the area of data residency to the EU | +| `AdjustConfig.DataResidencyTR` | Sets the area of data residency to Turkey | +| `AdjustConfig.DataResidencyUS` | Sets the area of data residency to the USA | +| `AdjustConfig.UrlStrategyChina` | Points the URL strategy to the `app.adjust.world` domain | +| `AdjustConfig.UrlStrategyCn` | Points the URL strategy to the `app.adjust.cn` domain | +| `AdjustConfig.UrlStrategyCnOnly` | Points the URL strategy to the `app.adjust.cn` domain but **doesn't** fall back to another domain if the request fails. | +| `AdjustConfig.UrlStrategyIndia` | Points the URL strategy to the `app.adjust.net.in` domain | + +
+ +```jsx "AdjustConfig.DataResidencyEU" {5} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +adjustConfig.setUrlStrategy(AdjustConfig.DataResidencyEU); +Adjust.create(adjustConfig); +``` + +## Consent measurement for specific users + +```ts title="Method signature" +trackMeasurementConsent: (measurementConsent: boolean) => void +``` + +If you're using [Data Privacy settings](https://help.adjust.com/en/article/manage-data-collection-and-retention) in your Adjust dashboard, you need to set up the Adjust SDK to work with them. This includes settings such as consent expiry period and user data retention period. + +To toggle this feature, call the `trackMeasurementConsent` method with the following argument: + +- `consentMeasurement` (**Boolean**): Whether consent measurement is enabled (`true`) or not (`false`). + +When enabled, the SDK communicates the data privacy settings to Adjust's servers. Adjust's servers then applies your data privacy rules to the user. The Adjust SDK continues to work as expected. + +```jsx +Adjust.trackMeasurementConsent(true); +``` + +## COPPA compliance + +```ts title="Method signature" +public setCoppaCompliantEnabled(coppaCompliantEnabled: boolean): void +``` + +If you need your app to be compliant with the Children's Online Privacy Protection Act (COPPA), call the `setCoppaCompliantEnabled` method. This method performs the following actions: + +1. Disables third-party sharing **before** the user launches their first `session`. +2. Prevents the SDK from reading device and advertising IDs (for example: `gps_adid` and `android_id`). + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setCoppaCompliantEnabled(true); +Adjust.create(adjustConfig); +``` + +You can disable this method by calling it with a `false` parameter. + + + +Disabling the `setCoppaCompliantEnabled` method _doesn't_ re-enable third-party sharing. You need to [re-enable third-party sharing](#enable-third-party-sharing) for the user. + + + +## Play Store Kids Apps (Android only) + +```ts title="Method signature" +public setPlayStoreKidsAppEnabled(playStoreKidsAppEnabled: boolean): void +``` + +If your app targets users under the age of 13, and the install region **isn't** the USA, you need to mark it as a Kids App. This prevents the SDK from reading device and advertising IDs (for example: `gps_adid` and `android_id`). + +To mark your app as a Kids App, call the `setPlayStoreKidsAppEnabled` method with the following argument: + +- `playStoreKidsAppEnabled` (**Boolean**): set to `true` to mark the app as a Kids App, or `false` to mark the app as a non-Kids App. + +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setPlayStoreKidsAppEnabled(true); +//... +Adjust.create(adjustConfig); +``` diff --git a/src/content/docs/sdk/react-native/features/session-parameters.mdx b/src/content/docs/sdk/react-native/features/session-parameters.mdx index d8b5096e57..154b29e214 100644 --- a/src/content/docs/sdk/react-native/features/session-parameters.mdx +++ b/src/content/docs/sdk/react-native/features/session-parameters.mdx @@ -4,26 +4,9 @@ description: Send information to your callback URL with each session. slug: en/sdk/react-native/features/session-parameters --- -import AddSessionCallbackParameter from "@react-native-examples/Adjust/addSessionCallbackParameter.mdx" -import AddSessionCallbackParameterSig from "@react-native-signatures/Adjust/addSessionCallbackParameter.mdx" -import RemoveSessionCallbackParameter from "@react-native-examples/Adjust/removeSessionCallbackParameter.mdx" -import RemoveSessionCallbackParameterSig from "@react-native-signatures/Adjust/removeSessionCallbackParameter.mdx" -import ResetSessionCallbackParameters from "@react-native-examples/Adjust/resetSessionCallbackParameters.mdx" -import ResetSessionCallbackParametersSig from "@react-native-signatures/Adjust/resetSessionCallbackParameters.mdx" -import AddSessionPartnerParameter from "@react-native-examples/Adjust/addSessionPartnerParameter.mdx" -import AddSessionPartnerParameterSig from "@react-native-signatures/Adjust/addSessionPartnerParameter.mdx" -import RemoveSessionPartnerParameter from "@react-native-examples/Adjust/removeSessionPartnerParameter.mdx" -import RemoveSessionPartnerParameterSig from "@react-native-signatures/Adjust/removeSessionPartnerParameter.mdx" -import ResetSessionPartnerParameters from "@react-native-examples/Adjust/resetSessionPartnerParameters.mdx" -import ResetSessionPartnerParametersSig from "@react-native-signatures/Adjust/resetSessionPartnerParameters.mdx" -import SetDelayStart from "@react-native-examples/AdjustConfig/setDelayStart.mdx" -import SetDelayStartSig from "@react-native-signatures/AdjustConfig/setDelayStart.mdx" -import SendFirstPackages from "@react-native-examples/Adjust/sendFirstPackages.mdx" -import SendFirstPackagesSig from "@react-native-signatures/Adjust/sendFirstPackages.mdx" - If you [register a callback URL](https://help.adjust.com/en/article/recommended-placeholders-callbacks) in the Adjust dashboard, Adjust sends a GET request to your callback URL when the SDK measures a session. -You can configure callback parameters to your servers. Once you configure parameters on an event, the SDK appends them to your callback URL. You can use this information to analyze your users' in-app behavior with your BI system. +## Session callback parameters @@ -31,17 +14,43 @@ The Adjust SDK merges session callback parameters with event callback parameters +You can configure callback parameters to your servers. Once you configure parameters on an event, the SDK appends them to your callback URL. You can use this information to analyze your users' in-app behavior with your BI system. + +### Add session callback parameters + +```ts title="Method signature" +addSessionCallbackParameter: (key: string, value: string) => void +``` + Add callback parameters to your event by calling the `addSessionCallbackParameter` method with **string** key-value arguments. You can add multiple parameters by calling this method multiple times. - +```jsx +Adjust.addSessionCallbackParameter("key", "value"); +``` + +### Remove session callback parameters + +```ts title="Method signature" +removeSessionCallbackParameter: (key: string) => void +``` -You can remove specific session callback parameters if they're no longer required. To do this, pass the parameter key to the `removeSessionCallbackParameter` method. +You can remove specific session callback parameters if they're no longer required. To do this, pass the parameter `key` to the `removeSessionCallbackParameter` method. - +```jsx +Adjust.removeSessionCallbackParameter("key"); +``` + +### Reset session callback parameters + +```ts title="Method signature" +resetSessionCallbackParameters: () => void +``` You can remove all session parameters if they're no longer required. To do this, call the `resetSessionCallbackParameters` method. - +```jsx +Adjust.resetSessionCallbackParameters(); +``` ## Session partner parameters @@ -55,17 +64,41 @@ Partner parameters don't appear in raw data by default. You can add the `{partne
-Add partner parameters to your event by calling the `addSessionPartnerParameter` method with **string** key-value arguments. You can add multiple parameters by calling this method multiple times. +### Add session partner parameters + +```ts title="Method signature" +addSessionPartnerParameter: (key: string, value: string) => void +``` + +Send partner parameters with your session by calling the `addSessionPartnerParameter` method with **string** key-value arguments. You can add multiple parameters by calling this method multiple times. - +```jsx +Adjust.addSessionPartnerParameter("key", "value"); +``` + +### Remove session partner parameters + +```ts title="Method signature" +removeSessionPartnerParameter: (key: string) => void +``` You can remove specific session partner parameters if they're no longer required. To do this, pass the parameter key to the `removeSessionPartnerParameter` method. - +```jsx +Adjust.removeSessionPartnerParameter("key"); +``` + +### Reset session partner parameters + +```ts title="Method signature" +resetSessionPartnerParameters: () => void +``` You can remove all session partner parameters if they're no longer required. To do this, call the `resetSessionPartnerParameters` method. - +```jsx +Adjust.resetSessionPartnerParameters(); +``` ## Delay start @@ -75,10 +108,21 @@ You can delay the startup of the SDK by up to **10 seconds**. -The Adjust SDK starts as soon as your app opens. If you want to send data that's not available at launch in session parameters, you can delay the start of the SDK. To do this, pass the delay time in seconds to the `setDelayStart` method on your config object. +The Adjust SDK starts as soon as your app opens. If you want to send data that's not available at launch in session parameters, you can delay the start of the SDK. To do this, pass the delay time in seconds to the [`setDelayStart` method](/en/sdk/react-native/configuration#delay-the-start-of-the-sdk) on your config object. - +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.setDelayStart(5.5); +//... +Adjust.create(adjustConfig); +``` After this time has elapsed, the SDK sends the information to Adjust's servers. You can send the information before the timeout by calling the `sendFirstPackages` method. - +```jsx +Adjust.sendFirstPackages(); +``` diff --git a/src/content/docs/sdk/react-native/configuration/skad.mdx b/src/content/docs/sdk/react-native/features/skad.mdx similarity index 75% rename from src/content/docs/sdk/react-native/configuration/skad.mdx rename to src/content/docs/sdk/react-native/features/skad.mdx index 16f615dc94..7c88e69b76 100644 --- a/src/content/docs/sdk/react-native/configuration/skad.mdx +++ b/src/content/docs/sdk/react-native/features/skad.mdx @@ -1,23 +1,16 @@ --- title: Set up SKAdNetwork and conversion values description: Configure SKAdNetwork features for your iOS apps. -slug: en/sdk/react-native/configuration/skad +slug: en/sdk/react-native/features/skad --- -import DeactivateSKAdNetworkHandling from "@react-native-examples/AdjustConfig/deactivateSKAdNetworkHandling.mdx"; -import DeactivateSKAdNetworkHandlingSig from "@react-native-signatures/AdjustConfig/deactivateSKAdNetworkHandling.mdx"; -import UpdateConversionValue from "@react-native-examples/Adjust/updateConversionValue.mdx"; -import UpdateConversionValueSig from "@react-native-signatures/Adjust/updateConversionValue.mdx"; -import SetConversionValueUpdatedCallbackListener from "@react-native-examples/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx"; -import SetConversionValueUpdatedCallbackListenerSig from "@react-native-signatures/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx"; - This feature is only available on devices running iOS 14 and above. -SKAdNetwork (StoreKit Ad Network) is Apple's attribution framework for +StoreKit Ad Network (SKAdNetwork) is Apple's attribution framework for app install and reinstall attribution. The SKAdNetwork workflow goes like this: 1. Apple gathers attribution information and notifies the relevant ad network. @@ -26,8 +19,16 @@ app install and reinstall attribution. The SKAdNetwork workflow goes like this: ## Disable SKAdNetwork communication +```ts title="Method signature" +public deactivateSKAdNetworkHandling(): void +``` + + + The Adjust SDK communicates with SKAdNetwork by default on v4.23.0 and above. The SDK registers for SKAdNetwork attribution upon initialization. + + Your config object contains a boolean `isSKAdNetworkHandlingActive` property that controls this behavior. You can disable SKAdNetwork communication by calling the `deactivateSKAdNetworkHandling` method with no argument. @@ -36,15 +37,30 @@ You must call the `deactivateSKAdNetworkHandling` method _before_ initializing t - +```jsx {6} +const adjustConfig = new AdjustConfig( + "{YourAppToken}", + AdjustConfig.EnvironmentSandbox +); +//... +adjustConfig.deactivateSKAdNetworkHandling(); +//... +Adjust.create(adjustConfig); +``` ## Update conversion values +```ts title="Method signature" +updateConversionValue: (conversionValue: number) => void +``` + Conversion values are a mechanism used to track user behavior in SKAdNetwork. You can map 64 conditions to values from 0 through 63 and send this integer value to SKAdNetwork on user install. This gives you insight into how your users interact with your app in the first few days. If you manage your conversion values with Adjust, the servers update this value in the SDK. You can also update this value by using the `updateConversionValue` method. This method wraps [Apple's `updateConversionValue` method](https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). It accepts an integer argument representing your updated conversion value. - +```jsx +Adjust.updateConversionValue(6); +``` ### Example @@ -58,9 +74,26 @@ function _onPress_trackSimpleEvent() { ## Listen for changes to conversion values +```ts title="Method signature" +public setConversionValueUpdatedCallbackListener( + callback: (conversionValue: AdjustConversionValue) => void +): void +``` + If you use Adjust to manage conversion values, the Adjust's servers send conversion value updates to the SDK. You can set up a delegate function to listen for these changes using the `setConversionValueUpdatedCallbackListener` method. Pass your function as an argument. - +```jsx {3-8} +const adjustConfig = new AdjustConfig(appToken, environment); + +adjustConfig.setConversionValueUpdatedCallbackListener(function ( + conversionValue +) { + console.log("Conversion value updated callback recveived"); + console.log("Conversion value: " + conversionValue.conversionValue); +}); + +Adjust.create(adjustConfig); +``` ### Example diff --git a/src/content/docs/sdk/react-native/features/subscriptions.mdx b/src/content/docs/sdk/react-native/features/subscriptions.mdx index 7e3a11c451..618b12c45a 100644 --- a/src/content/docs/sdk/react-native/features/subscriptions.mdx +++ b/src/content/docs/sdk/react-native/features/subscriptions.mdx @@ -4,27 +4,6 @@ description: Use these methods send subscription information to Adjust. slug: en/sdk/react-native/features/subscriptions --- -import AdjustAppStoreSubscription from "@react-native-examples/AdjustAppStoreSubscription/adjustAppStoreSubscription.mdx"; -import AdjustPlayStoreSubscription from "@react-native-examples/AdjustPlayStoreSubscription/adjustPlayStoreSubscription.mdx"; -import SetTransactionDate from "@react-native-examples/AdjustAppStoreSubscription/setTransactionDate.mdx"; -import SetTransactionDateSig from "@react-native-signatures/AdjustAppStoreSubscription/setTransactionDate.mdx"; -import SetPurchaseTime from "@react-native-examples/AdjustPlayStoreSubscription/setPurchaseTime.mdx"; -import SetPurchaseTimeSig from "@react-native-signatures/AdjustPlayStoreSubscription/setPurchaseTime.mdx"; -import SetSalesRegion from "@react-native-examples/AdjustAppStoreSubscription/setSalesRegion.mdx"; -import SetSalesRegionSig from "@react-native-signatures/AdjustAppStoreSubscription/setSalesRegion.mdx"; -import AddCallbackParameterAppStore from "@react-native-examples/AdjustAppStoreSubscription/addCallbackParameter.mdx"; -import AddCallbackParameterAppStoreSig from "@react-native-signatures/AdjustAppStoreSubscription/addCallbackParameter.mdx"; -import AddCallbackParameterPlayStore from "@react-native-examples/AdjustPlayStoreSubscription/addCallbackParameter.mdx"; -import AddCallbackParameterPlayStoreSig from "@react-native-signatures/AdjustPlayStoreSubscription/addCallbackParameter.mdx"; -import AddPartnerParameterAppStore from "@react-native-examples/AdjustAppStoreSubscription/addPartnerParameter.mdx"; -import AddPartnerParameterAppStoreSig from "@react-native-signatures/AdjustAppStoreSubscription/addPartnerParameter.mdx"; -import AddPartnerParameterPlayStore from "@react-native-examples/AdjustPlayStoreSubscription/addPartnerParameter.mdx"; -import AddPartnerParameterPlayStoreSig from "@react-native-signatures/AdjustPlayStoreSubscription/addPartnerParameter.mdx"; -import TrackAppStoreSubscription from "@react-native-examples/Adjust/trackAppStoreSubscription.mdx"; -import TrackAppStoreSubscriptionSig from "@react-native-signatures/Adjust/trackAppStoreSubscription.mdx"; -import TrackPlayStoreSubscription from "@react-native-examples/Adjust/trackPlayStoreSubscription.mdx"; -import TrackPlayStoreSubscriptionSig from "@react-native-signatures/Adjust/trackPlayStoreSubscription.mdx"; - The following steps only set up subscription tracking within the Adjust SDK. To enable the feature, Adjust need to set up app-specific information. Contact support@adjust.com or talk to your Technical Account manager to set this up. @@ -33,13 +12,17 @@ The following steps only set up subscription tracking within the Adjust SDK. To You can record App Store and Play Store subscriptions and verify their validity with the Adjust SDK. After the user purchases a subscription, create an `AdjustAppStoreSubscription` or `AdjustPlayStoreSubscription` instance containing the details. -## 1. Set up your subscription object +## 1. Instantiate a subscription object To get started, you need to create a subscription object containing details of the subscription purchase. +```ts title="Method signature" +constructor(price: string, currency: string, transactionId: string, receipt: string) +``` + Create an `AdjustAppStoreSubscription` object with the following properties @@ -53,11 +36,25 @@ Create an `AdjustAppStoreSubscription` object with the following properties
- +```jsx {9} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +Adjust.trackPlayStoreSubscription(subscription); +```
+```ts title="Method signature" +constructor(price: string, currency: string, sku: string, orderId: string, signature: string, purchaseToken: string) +``` + Create an `AdjustPlayStoreSubscription` object with the following properties @@ -73,7 +70,16 @@ Create an `AdjustPlayStoreSubscription` object with the following properties
- +```jsx +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +```
@@ -85,25 +91,71 @@ You can record the date on which the user purchased a subscription. The SDK retu +```ts title="Method signature" +public setTransactionDate(transactionDate: string): void +``` + Call the `setTransactionDate` method method on your subscription object to record the timestamp of the subscription. - +```jsx {10} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +//... +subscription.setTransactionDate(transactionDate); +Adjust.trackPlayStoreSubscription(subscription); +``` +```ts title="Method signature" +public setPurchaseTime(purchaseTime: string): void +``` + Call the `setPurchaseTime` method on your subscription object to record the timestamp of the subscription. - +```jsx {9} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +subscription.setPurchaseTime(purchaseTime); +``` ### Record the purchase region (iOS only) +```ts title="Method signature" +public setSalesRegion(salesRegion: string): void +``` + You can record the region in which the user purchased a subscription. To do this, call the `setSalesRegion` method on your subscription object and pass the country code as a **string**. This needs to be formatted as the [`countryCode`](https://developer.apple.com/documentation/foundation/nslocale/1643060-countrycode?language=swift) of the [`priceLocale`](https://developer.apple.com/documentation/storekit/skproduct/1506145-pricelocale?language=swift) object. - +```jsx {10} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +//... +subscription.setSalesRegion(salesRegion); +Adjust.trackPlayStoreSubscription(subscription); +``` ### Add callback parameters @@ -112,12 +164,46 @@ You can add callback parameters to your subscription object. The SDK appends the - +```ts title="Method signature" +public addCallbackParameter(key: string, value: string): void +``` + +```jsx {10-11} +var subscription = new AdjustAppStoreSubscription( + price, + currency, + transactionId, + receipt +); +subscription.setTransactionDate(transactionDate); +subscription.setSalesRegion(salesRegion); +//... +subscription.addCallbackParameter("key1", "value1"); +subscription.addCallbackParameter("key2", "value2"); + +Adjust.trackAppStoreSubscription(subscription); +``` - +```ts title="Method signature" +public addCallbackParameter(key: string, value: string): void +``` + +```jsx {10,11} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +//... +subscription.addCallbackParameter("key1", "value1"); +subscription.addCallbackParameter("key2", "value2"); +``` @@ -129,12 +215,46 @@ You can add partner parameters to your subscription object. The SDK sends these - +```ts title="Method signature" +public addPartnerParameter(key: string, value: string): void +``` + +```jsx {10-11} +var subscription = new AdjustAppStoreSubscription( + price, + currency, + transactionId, + receipt +); +subscription.setTransactionDate(transactionDate); +subscription.setSalesRegion(salesRegion); +//... +subscription.addPartnerParameter("key1", "value1"); +subscription.addPartnerParameter("key2", "value2"); + +Adjust.trackAppStoreSubscription(subscription); +``` - +```ts title="Method signature" +public addPartnerParameter(key: string, value: string): void +``` + +```jsx {10,11} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +//... +subscription.addPartnerParameter("key1", "value1"); +subscription.addPartnerParameter("key2", "value2"); +``` @@ -146,16 +266,47 @@ Once you have set up your subscription object, you can record it using the Adjus +```ts title="Method signature" +trackAppStoreSubscription: (subscription: AdjustAppStoreSubscription) => void +``` + Pass your subscription object to the `trackAppStoreSubscription` method method to record the user's subscription purchase. - +```jsx {10} +var subscription = new AdjustAppStoreSubscription( + price, + currency, + transactionId, + receipt +); +subscription.setTransactionDate(transactionDate); +subscription.setSalesRegion(salesRegion); + +Adjust.trackAppStoreSubscription(subscription); +``` +```ts title="Method signature" +trackPlayStoreSubscription: (subscription: AdjustPlayStoreSubscription) => void +``` + Pass your subscription object to the `trackPlayStoreSubscription` method method to record the user's subscription purchase. - +```jsx {11} +var subscription = new AdjustPlayStoreSubscription( + price, + currency, + sku, + orderId, + signature, + purchaseToken +); +subscription.setPurchaseTime(purchaseTime); + +Adjust.trackPlayStoreSubscription(subscription); +``` diff --git a/src/content/docs/sdk/react-native/plugins/index.mdx b/src/content/docs/sdk/react-native/plugins/index.mdx index d6e361b38e..1f358e043d 100644 --- a/src/content/docs/sdk/react-native/plugins/index.mdx +++ b/src/content/docs/sdk/react-native/plugins/index.mdx @@ -4,6 +4,7 @@ description: Use third-party plugins to pass information from third-party SDKs t category-title: Plugins slug: en/sdk/react-native/plugins type: category +sidebar-position: 3 --- Use plugins to pass information to third-party plugins. diff --git a/src/content/docs/sdk/react-native/plugins/oaid.mdx b/src/content/docs/sdk/react-native/plugins/oaid.mdx index 419131dfff..577b6d540d 100644 --- a/src/content/docs/sdk/react-native/plugins/oaid.mdx +++ b/src/content/docs/sdk/react-native/plugins/oaid.mdx @@ -4,7 +4,7 @@ description: Use the OAID plugin to read a device's OAID. slug: en/sdk/react-native/plugins/oaid --- -The OAID (Open Anonymous Device Identifier) is a unique identifier for Android devices. The MSA (Mobile Security Alliance) recommends all Chinese-manufactured devices provide an OAID. You can use the OAID to attribute and track devices where Google Play Services isn't available. +The Open Anonymous Device Identifier (OAID) is a unique identifier for Android devices. The Mobile Security Alliance (MSA) recommends all Chinese-manufactured devices provide an OAID. You can use the OAID to attribute and track devices where Google Play Services isn't available. The OAID plugin provides the OAID of a device. The SDK will continue to use other identifiers as well as the OAID. @@ -35,6 +35,9 @@ Adjust.create(adjustConfig); To stop the SDK from reading OAID values, call the `AdjustOaid.doNotReadOaid()` method. -```jsx -AdjustOaid.readOaid(); +```jsx {2} +import { AdjustOaid } from 'react-native-adjust-oaid'; +AdjustOaid.doNotReadOaid(); +// ... +Adjust.create(adjustConfig); ``` diff --git a/src/content/docs/sdk/react-native/reference/adjust/config.mdx b/src/content/docs/sdk/react-native/reference/adjust/config.mdx deleted file mode 100644 index 3d78d27018..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjust/config.mdx +++ /dev/null @@ -1,157 +0,0 @@ ---- -title: Configuration methods -description: Use these methods to update the Adjust SDK's configuration. -slug: en/sdk/react-native/reference/adjust/config ---- - -Use these methods to update the Adjust SDK's configuration. - - - -## setEnabled - -Enable or disable the Adjust SDK. The SDK doesn't send any information while disabled. - - - -import SetEnabledSig from "@react-native-signatures/Adjust/setEnabled.mdx" - - - - - - - -import SetEnabled from "@react-native-examples/Adjust/setEnabled.mdx" - - - - - - - -`enabled` (boolean): Whether the SDK is enabled. - - - - - - - -## isEnabled - -Call this method to check whether the Adjust SDK is enabled. - - - -import IsEnabledSig from "@react-native-signatures/Adjust/isEnabled.mdx" - - - - - - - -import IsEnabled from "@react-native-examples/Adjust/isEnabled.mdx" - - - - - - - -`enabled` (boolean): Whether the SDK is enabled. - - - - - - - -## sendFirstPackages - - - -This method has an effect only if you delay the start of the Adjust SDK. - - - -The Adjust SDK sends information to Adjust's servers as soon as it starts. If you delay the start of the SDK, you can use this method to send packages before the delay ends. - - - -import SendFirstPackagesSig from "@react-native-signatures/Adjust/sendFirstPackages.mdx" - - - - - - - -import SendFirstPackages from "@react-native-examples/Adjust/sendFirstPackages.mdx" - - - - - - - - - -## setOfflineMode - -Controls whether the SDK is in offline mode. When in offline mode, the SDK queues all events in a file until offline mode is disabled. When offline mode is disabled, the SDK sends all queued events. - - - -import SetOfflineModeSig from "@react-native-signatures/Adjust/setOfflineMode.mdx" - - - - - - - -import SetOfflineMode from "@react-native-examples/Adjust/setOfflineMode.mdx" - - - - - - - -`enabled` (boolean): Whether the SDK is in offline mode. - - - - - - - -## setPushToken - -Set your [push token](https://help.adjust.com/en/article/push-notifications) to record [uninstalls and reattributions](https://help.adjust.com/en/article/uninstalls-reinstalls). You can update this value at any time. - - - -import SetPushTokenSig from "@react-native-signatures/Adjust/setPushToken.mdx" - - - - - - - -import SetPushToken from "@react-native-examples/Adjust/setPushToken.mdx" - - - - - - - -`token` (string): Your push token. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjust/device-info.mdx b/src/content/docs/sdk/react-native/reference/adjust/device-info.mdx deleted file mode 100644 index 5ea3dc2746..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjust/device-info.mdx +++ /dev/null @@ -1,134 +0,0 @@ ---- -title: Device information methods -description: Use these methods to retrieve device information. -slug: en/sdk/react-native/reference/adjust/device-info -sidebar-position: 2 ---- - -Use these methods to retrieve device information. - - - -## getAdid - - - -The ADID is available only after the install has been recorded. - - - -Returns the ADID (Adjust Device ID) associated with the device. - - - -import GetAdidSig from "@react-native-signatures/Adjust/getAdid.mdx" - - - - - - - -import GetAdid from "@react-native-examples/Adjust/getAdid.mdx" - - - - - - - -`adid` (string): The Adjust identifier associated with the device - - - - - - - -## getIdfa - -Returns the IDFA (ID for advertisers) associated with the device. - - - -import GetIdfaSig from "@react-native-signatures/Adjust/getIdfa.mdx" - - - - - - - -import GetIdfa from "@react-native-examples/Adjust/getIdfa.mdx" - - - - - - - -`idfa` (string): The IDFA associated with the device - - - - - - - -## getGoogleAdid - -Returns the Google ADID (Google advertiser ID) associated with the device. - - - -import GetGoogleAdidSig from "@react-native-signatures/Adjust/getGoogleAdId.mdx" - - - - - - - -import GetGoogleAdid from "@react-native-examples/Adjust/getGoogleAdId.mdx" - - - - - - - -`googleAdid` (string): The Google ADID associated with the device - - - - - - - -## getAmazonAdid - -Returns the Amazon ADID (Amazon advertiser ID) associated with the device. - - - -import GetAmazonAdidSig from "@react-native-signatures/Adjust/getAmazonAdId.mdx" - - - - - - - -import GetAmazonAdid from "@react-native-examples/Adjust/getAmazonAdId.mdx" - - - - - - - -`amazonAdId` (string): The Amazon ADID associated with the device - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjust/index.mdx b/src/content/docs/sdk/react-native/reference/adjust/index.mdx deleted file mode 100644 index 4ac01bad0d..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjust/index.mdx +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Adjust class -description: Use the Adjust class send information about your application and users to Adjust -category-title: Adjust class -slug: en/sdk/react-native/reference/adjust -type: category ---- - -The Adjust class can be used to send information about your application and users to Adjust. This can be used for attribution as well as recording events for analytics. diff --git a/src/content/docs/sdk/react-native/reference/adjust/privacy.mdx b/src/content/docs/sdk/react-native/reference/adjust/privacy.mdx deleted file mode 100644 index e6f843cda1..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjust/privacy.mdx +++ /dev/null @@ -1,116 +0,0 @@ ---- -title: Privacy methods -description: Use these methods to handle user privacy in your app. -slug: en/sdk/react-native/reference/adjust/privacy -sidebar-position: 3 ---- - -Use these methods to handle user privacy in your app. - - - -## disableThirdPartySharing - -Disable sharing of information with third parties for all users. - - - -import DisableThirdPartySharingSig from "@react-native-signatures/Adjust/disableThirdPartySharing.mdx" - - - - - - - -import DisableThirdPartySharing from "@react-native-examples/Adjust/disableThirdPartySharing.mdx" - - - - - - - - - -## trackThirdPartySharing - -Disable or enable sharing of information with third parties on a per-user basis. Accepts a third party sharing object initialized with a **boolean** value. - - - -import TrackThirdPartySharingSig from "@react-native-signatures/Adjust/trackThirdPartySharing.mdx" - - - - - - - -import TrackThirdPartySharing from "@react-native-examples/Adjust/trackThirdPartySharing.mdx" - - - - - - - -`thirdPartySharing` (AdjustThirdPartySharing): The third party sharing object - - - - - - - -## trackMeasurementConsent - -Set whether [data collection and retention rules](https://help.adjust.com/en/article/manage-data-collection-and-retention) apply to a user. - - - -import TrackMeasurementConsentSig from "@react-native-signatures/Adjust/trackMeasurementConsent.mdx" - - - - - - - -import TrackMeasurementConsent from "@react-native-examples/Adjust/trackMeasurementConsent.mdx" - - - - - - - -`enabled` (boolean): Whether data collection and retention rules apply for the user. - - - - - - - -## gdprForgetMe - -Send an RTBF (Right To Be Forgotten) request to Adjust's servers. This erases all information about the user the source app. The SDK stops sending requests for the user. - - - -import GdprForgetMeSig from "@react-native-signatures/Adjust/gdprForgetMe.mdx" - - - - - - - -import GdprForgetMe from "@react-native-examples/Adjust/gdprForgetMe.mdx" - - - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjust/recording.mdx b/src/content/docs/sdk/react-native/reference/adjust/recording.mdx deleted file mode 100644 index 311463264a..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjust/recording.mdx +++ /dev/null @@ -1,330 +0,0 @@ ---- -title: Recording methods -description: Use these methods to send information about your app to Adjust. -slug: en/sdk/react-native/reference/adjust/recording -sidebar-position: 4 ---- - -Use these methods to send information about your app to Adjust. - - - -## trackEvent - -Record event information using an `Adjust` object and an [Adjust event token](https://help.adjust.com/en/article/add-events#add-event). - - - -import TrackEventSig from "@react-native-signatures/Adjust/trackEvent.mdx" - - - - - - - -import TrackEvent from "@react-native-examples/Adjust/trackEvent.mdx" - - - - - - - -`event` (AdjustEvent): An event object containing the information you want to send to Adjust. - - - - - - - -## addSessionCallbackParameter - -Adds callback parameters to send with each session recorded by the Adjust SDK. You can add extra parameters by calling on this method multiple times. - - - -import AddSessionCallbackParameterSig from "@react-native-signatures/Adjust/addSessionCallbackParameter.mdx" - - - - - - - -import AddSessionCallbackParameter from "@react-native-examples/Adjust/addSessionCallbackParameter.mdx" - - - - - - - -`key` (string): The data key - -`value` (string): The data value - - - - - - - -## removeSessionCallbackParameter - -Remove a session callback parameter. - - - -import RemoveSessionCallbackParameterSig from "@react-native-signatures/Adjust/removeSessionCallbackParameter.mdx" - - - - - - - -import RemoveSessionCallbackParameter from "@react-native-examples/Adjust/removeSessionCallbackParameter.mdx" - - - - - - - -`key` (string): The data key of the parameter you want to remove. - - - - - - - -## resetSessionCallbackParameters - -Removes all session callback parameters. - - - -import ResetSessionCallbackParametersSig from "@react-native-signatures/Adjust/resetSessionCallbackParameters.mdx" - - - - - - - -import ResetSessionCallbackParameters from "@react-native-examples/Adjust/resetSessionCallbackParameters.mdx" - - - - - - - - - -## addSessionPartnerParameter - -Adds partner parameters to send with each session recorded by the Adjust SDK. You can add extra parameters by calling on this method multiple times. - - - -import AddSessionPartnerParameterSig from "@react-native-signatures/Adjust/addSessionPartnerParameter.mdx" - - - - - - - -import AddSessionPartnerParameter from "@react-native-examples/Adjust/addSessionPartnerParameter.mdx" - - - - - - - -`key` (string): The data key - -`value` (string): The data value - - - - - - - -## removeSessionPartnerParameter - -Remove a session partner parameter. - - - -import RemoveSessionPartnerParameterSig from "@react-native-signatures/Adjust/removeSessionPartnerParameter.mdx" - - - - - - - -import RemoveSessionPartnerParameter from "@react-native-examples/Adjust/removeSessionPartnerParameter.mdx" - - - - - - - -`key` (string): The data key of the parameter you want to remove. - - - - - - - -## resetSessionPartnerParameters - -Removes all session partner parameters. - - - -import ResetSessionPartnerParametersSig from "@react-native-signatures/Adjust/resetSessionPartnerParameters.mdx" - - - - - - - -import ResetSessionPartnerParameters from "@react-native-examples/Adjust/resetSessionPartnerParameters.mdx" - - - - - - - - - -## trackAdRevenue - -Record the details of an AdjustAdRevenue object. - - - -import TrackAdRevenueSig from "@react-native-signatures/Adjust/trackAdRevenue.mdx" - - - - - - - -import TrackAdRevenue from "@react-native-examples/Adjust/trackAdRevenue.mdx" - - - - - - - -`adRevenue` (AdjustAdRevenue): The ad revenue object containing the revenue details. - - - - - - - -## trackPlayStoreSubscription - -Record a Play Store subscription object. - - - -import TrackPlayStoreSubscriptionSig from "@react-native-signatures/Adjust/trackPlayStoreSubscription.mdx" - - - - - - - -import TrackPlayStoreSubscription from "@react-native-examples/Adjust/trackPlayStoreSubscription.mdx" - - - - - - - -`subscription` (AdjustPlayStoreSubscription): The subscription object containing the purchase details. - - - - - - - -## trackAppStoreSubscription - -Record an App Store subscription object. - - - -import TrackAppStoreSubscriptionSig from "@react-native-signatures/Adjust/trackAppStoreSubscription.mdx" - - - - - - - -import TrackAppStoreSubscription from "@react-native-examples/Adjust/trackAppStoreSubscription.mdx" - - - - - - - -`subscription` (AdjustAppStoreSubscription): The subscription object containing the purchase details. - - - - - - - -## getAttribution - -Fetches attribution data about the device. - - - -import GetAttributionSig from "@react-native-signatures/Adjust/getAttribution.mdx" - - - - - - - -import GetAttribution from "@react-native-examples/Adjust/getAttribution.mdx" - - - - - - - -`attribution` (AdjustAttribution): An attribution object containing attribution data associated with the device. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjust/skan-att.mdx b/src/content/docs/sdk/react-native/reference/adjust/skan-att.mdx deleted file mode 100644 index c308a1121d..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjust/skan-att.mdx +++ /dev/null @@ -1,122 +0,0 @@ ---- -title: SKAdNetwork and ATT methods -description: Use these methods to send information about your app to Adjust. -slug: en/sdk/react-native/reference/adjust/skan-att -sidebar-position: 5 ---- - -Use these methods to manage your [SKAdNetwork](https://help.adjust.com/en/article/skadnetwork) and [App Tracking Transparency](https://help.adjust.com/en/article/app-tracking-transparency-att-framework) logic. - - - -## requestTrackingAuthorizationWithCompletionHandler - -Receives the user's authorization status from the ATT prompt and passes it to a completion function. - - - -import RequestTrackingAuthorizationSig from "@react-native-signatures/Adjust/requestTrackingAuthorization.mdx" - - - - - - - -import RequestTrackingAuthorization from "@react-native-examples/Adjust/requestTrackingAuthorization.mdx" - - - - - - - -`statusCallback` (Action\): Completion handler to which the status is passed. - - - - - - - -## getAppTrackingAuthorizationStatus - -Retrieves the user's current authorization status. - - - -import GetAppTrackingAuthorizationStatusSig from "@react-native-signatures/Adjust/appTrackingAuthorizationStatus.mdx" - - - - - - - -import GetAppTrackingAuthorizationStatus from "@react-native-examples/Adjust/appTrackingAuthorizationStatus.mdx" - - - - - - - -`status` (number): The user's authorization status. - - - - - - - -## checkForNewAttStatus - -Prompts the SDK to check the current state of `att_status`. - - - -import CheckForNewAttStatusSig from "@react-native-signatures/Adjust/checkForNewAttStatus.mdx" - - - - - - - -import CheckForNewAttStatus from "@react-native-examples/Adjust/checkForNewAttStatus.mdx" - - - - - - - - - -## updateConversionValue - -Updates the [conversion value](https://help.adjust.com/en/suite/article/conversion-hub). - - - -import UpdateConversionValueSig from "@react-native-signatures/Adjust/updateConversionValue.mdx" - - - - - - - -import UpdateConversionValue from "@react-native-examples/Adjust/updateConversionValue.mdx" - - - - - - - -conversionValue (number): The new conversion value. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustadrevenue.mdx b/src/content/docs/sdk/react-native/reference/adjustadrevenue.mdx deleted file mode 100644 index 1cf7a81c23..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustadrevenue.mdx +++ /dev/null @@ -1,269 +0,0 @@ ---- -title: AdjustAdRevenue class -description: Use this class to store ad revenue information. -category-title: AdjustAdRevenue class -slug: en/sdk/react-native/reference/adjustadrevenue ---- - -Use this class to store ad revenue information. - - - -## Constructor - -Creates an ad revenue object initialized with an external ad revenue source. - - - -import ConstructorSig from "@react-native-signatures/AdjustAdRevenue/constructor.mdx"; - - - - - - - -import Constructor from "@react-native-examples/AdjustAdRevenue/constructor.mdx"; - - - - - - - -`source` (string): The source of the ad revenue. - - - -| Parameter | Source | -| ---------------------------------------------- | ----------------- | -| `AdjustConfig.AdRevenueSourceAppLovinMAX` | AppLovin MAX | -| `AdjustConfig.AdRevenueSourceMopub` | Mopub | -| `AdjustConfig.AdRevenueSourceAdMob` | AdMob | -| `AdjustConfig.AdRevenueSourceIronSource` | ironSource | -| `AdjustConfig.AdRevenueSourceAdmost` | AdMost | -| `AdjustConfig.AdRevenueSourceUnity` | Unity | -| `AdjustConfig.AdRevenueSourceHeliumChartboost` | Helium Chartboost | -| `AdjustConfig.AdRevenueSourcePublisher` | Generic source | - -
- -
- -
- - - -## setRevenue - -Set the revenue amount associated with the ad revenue object. - - - -import SetRevenueSig from "@react-native-signatures/AdjustAdRevenue/setRevenue.mdx"; - - - - - - - -import SetRevenue from "@react-native-examples/AdjustAdRevenue/setRevenue.mdx"; - - - - - - - -`amount` (number): The amount of currency units associated with the ad. - -`currency` (string): The 3 character [ISO 4217 code](https://www.iban.com/currency-codes) of the currency unit. - - - - - - - -## setAdImpressionsCount - -Sets the number of impressions received for an ad. - - - -import SetAdImpressionsCountSig from "@react-native-signatures/AdjustAdRevenue/setAdImpressionsCount.mdx"; - - - - - - - -import SetAdImpressionsCount from "@react-native-examples/AdjustAdRevenue/setAdImpressionsCount.mdx"; - - - - - - - -`adImpressionsCaount` (number): The number of impressions associated with the ad. - - - - - - - -## setAdRevenueNetwork - -Sets the network associated with the ad revenue. - - - -import SetAdRevenueNetworkSig from "@react-native-signatures/AdjustAdRevenue/setAdRevenueNetwork.mdx"; - - - - - - - -import SetAdRevenueNetwork from "@react-native-examples/AdjustAdRevenue/setAdRevenueNetwork.mdx"; - - - - - - - -`adRevenueNetwork` (string): The network associated with the ad revenue. - - - - - - - -## setAdRevenueUnit - -Sets the ad unit ID associated with the ad revenue. - - - -import SetAdRevenueUnitSig from "@react-native-signatures/AdjustAdRevenue/setAdRevenueUnit.mdx"; - - - - - - - -import SetAdRevenueUnit from "@react-native-examples/AdjustAdRevenue/setAdRevenueUnit.mdx"; - - - - - - - -`unit` (string): The ad unit ID associated with the ad revenue. - - - - - - - -## setAdRevenuePlacement - -Sets the placement of the ad associated with the ad revenue. - - - -import SetAdRevenuePlacementSig from "@react-native-signatures/AdjustAdRevenue/setAdRevenuePlacement.mdx"; - - - - - - - -import SetAdRevenuePlacement from "@react-native-examples/AdjustAdRevenue/setAdRevenuePlacement.mdx"; - - - - - - - -`adRevenuePlacement` (string): The placement of the ad associated with the revenue. - - - - - - - -## addCallbackParameter - -Adds key-value information to send to your callback URL. - - - -import AddCallbackParameterSig from "@react-native-signatures/AdjustAdRevenue/addCallbackParameter.mdx"; - - - - - - - -import AddCallbackParameter from "@react-native-examples/AdjustAdRevenue/addCallbackParameter.mdx"; - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - - - - -## addPartnerParameter - -Adds key-value information to share with partners. - - - -import AddPartnerParameterSig from "@react-native-signatures/AdjustAdRevenue/addPartnerParameter.mdx"; - - - - - - - -import AddPartnerParameter from "@react-native-examples/AdjustAdRevenue/addPartnerParameter.mdx"; - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustappstoresubscription.mdx b/src/content/docs/sdk/react-native/reference/adjustappstoresubscription.mdx deleted file mode 100644 index a719c99279..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustappstoresubscription.mdx +++ /dev/null @@ -1,170 +0,0 @@ ---- -title: AdjustAppStoreSubscription class -description: Use this class to store App Store subscription information. -category-title: AdjustAppStoreSubscription class -slug: en/sdk/react-native/reference/adjustappstoresubscription ---- - -import TrackAppStoreSubscription from "@react-native-signatures/Adjust/trackAppStoreSubscription.mdx" - -Use this class to store App Store subscription information. You can pass this to Adjust's servers using the `trackAppStoreSubscription` method. - - - -## Constructor - -Instantiates a subscription object. - - - -import ConstructorSig from "@react-native-signatures/AdjustAppStoreSubscription/constructor.mdx" - - - - - - - -import Constructor from "@react-native-examples/AdjustAppStoreSubscription/adjustAppStoreSubscription.mdx" - - - - - - - -`price` (string): The price of the subscription. - -`currency` (string): The currency of the subscription. Formatted as the [`currencyCode`](https://developer.apple.com/documentation/foundation/nslocale/1642836-currencycode?language=objc) of the [`priceLocale`](https://developer.apple.com/documentation/storekit/skproduct/1506145-pricelocale?language=objc) object - -`transactionId` (string): Your ID for the transaction. - -`receipt` (string): The receipt information. - - - - - - - -## setTransactionDate - -Sets the date of the transaction in the subscription object. - - - -import SetTransactionDateSig from "@react-native-signatures/AdjustAppStoreSubscription/setTransactionDate.mdx" - - - - - - - -import SetTransactionDate from "@react-native-examples/AdjustAppStoreSubscription/setTransactionDate.mdx" - - - - - - - -`transactionDate` (string): The date on which the subscription was purchased. - - - - - - - -## setSalesRegion - -You can record the region in which the user purchased a subscription. - - - -import SetSalesRegionSig from "@react-native-signatures/AdjustAppStoreSubscription/setSalesRegion.mdx" - - - - - - - -import SetSalesRegion from "@react-native-examples/AdjustAppStoreSubscription/setSalesRegion.mdx" - - - - - - - -`salesRegion` (string): The region in which the subscription was purchased. - - - - - - - -## addCallbackParameter - -Adds key-value callback parameters to the subscription object. You can add multiple parameters by calling this method multiple times. - - - -import AddCallbackParameterSig from "@react-native-signatures/AdjustAppStoreSubscription/addCallbackParameter.mdx" - - - - - - - -import AddCallbackParameter from "@react-native-examples/AdjustAppStoreSubscription/addCallbackParameter.mdx" - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - - - - -## addPartnerParameter - -Adds key-value callback parameters to the subscription object. You can add multiple parameters by calling this method multiple times. - - - -import AddPartnerParameterSig from "@react-native-signatures/AdjustAppStoreSubscription/addPartnerParameter.mdx" - - - - - - - -import AddPartnerParameter from "@react-native-examples/AdjustAppStoreSubscription/addPartnerParameter.mdx" - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustattribution.mdx b/src/content/docs/sdk/react-native/reference/adjustattribution.mdx deleted file mode 100644 index 58f341a574..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustattribution.mdx +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: AdjustAttribution class -description: Use this class to see attribution information. -category-title: AdjustAttribution class -slug: en/sdk/react-native/reference/adjustattribution ---- - -import AttributionSig from "@react-native-signatures/Adjust/getAttribution.mdx"; -import SetNeedsCostSig from "@react-native-signatures/AdjustConfig/setNeedsCost.mdx"; - -The `AdjustAttribution` class contains details about the current attribution status of the device. - -## Properties - -The following properties can be accessed by calling the `getAttribution` method. Any values that aren't populated for the user are returned as a null value. - - - -The following values can only be accessed if the `needsCost` property on your `ADJConfig` instance is `true`: - -- `costType` -- `costAmount` -- `costCurrency` - - - - - -| Values | Data type | Description | -| ------------------- | --------- | ---------------------------------------------------------------------------------------------------------------- | -| `trackerToken` | String | The token of the tracker to which the device is currently attributed | -| `trackerName` | String | The name of the tracker to which the device is currently attributed | -| `network` | String | The name of the network to which the device is currently attributed | -| `campaign` | String | The name of the campaign to which the device is currently attributed | -| `adgroup` | String | The name of the adgroup to which the device is currently attributed | -| `creative` | String | The name of the creative to which the device is currently attributed | -| `clickLabel` | String | The [click label](https://help.adjust.com/en/article/user-rewards) that the install is tagged with | -| `adid` | String | The unique Adjust ID assigned to the device | -| `costType` | String | The campaign pricing model (for example cpi) | -| `costAmount` | Number | The cost of the install. | -| `costCurrency` | String | The [3 character ISO 4217 code](https://www.iban.com/currency-codes) of the currency associated with the cost. | -| `fbInstallReferrer` | String | The [Facebook install referrer](https://developers.facebook.com/docs/app-ads/install-referrer/). _Android only_. | - -
diff --git a/src/content/docs/sdk/react-native/reference/adjustconfig/index.mdx b/src/content/docs/sdk/react-native/reference/adjustconfig/index.mdx deleted file mode 100644 index a22e1d6894..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustconfig/index.mdx +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: AdjustConfig class -description: Use the methods in this class to set up the Adjust SDK. -category-title: AdjustConfig class -slug: en/sdk/react-native/reference/adjustconfig -type: category ---- - -Use the methods in this class to set up the Adjust SDK. - - - - -The methods in this class must be called **before** you initialize the SDK. - - - - - -## Constructor - -Instantiates the configuration object with your Adjust app token. - - - -import Constructor from "@react-native-signatures/AdjustConfig/constructor.mdx" - - - - - - - -import ConfigWithAppToken from "@react-native-examples/AdjustConfig/constructor.mdx" - - - - - - - -`appToken` (string): Your Adjust app token. - -`environment` (Environment): The environment your app is running in. - - - - - -`config` (AdjustConfig): A config object initialized with the provided params. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustconfig/privacy.mdx b/src/content/docs/sdk/react-native/reference/adjustconfig/privacy.mdx deleted file mode 100644 index b5e90c0ca7..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustconfig/privacy.mdx +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: Privacy methods -description: Configure these properties to set up privacy features in the Adjust SDK. -slug: en/sdk/react-native/reference/adjustconfig/privacy -sidebar-position: 2 ---- - - - -## setUrlStrategy - -Sets the country or region of data residency. If called with a `UrlStrategy` parameter, sets the country/region where data will be sent preferentially. - - - -import SetUrlStrategySig from "@react-native-signatures/AdjustConfig/setUrlStrategy.mdx"; - - - - - - - -import SetUrlStrategy from "@react-native-examples/AdjustConfig/setUrlStrategy.mdx"; - - - - - - - -`urlStrategy` (UrlStrategy): The data residency target (see available values below) - - - -| Value | Description | -| ------------------------------- | --------------------------------------------------------- | -| `AdjustConfig.DataResidencyEU` | Sets the area of data residency to the EU | -| `AdjustConfig.DataResidencyTR` | Sets the area of data residency to Turkey | -| `AdjustConfig.DataResidencyUS` | Sets the area of data residency to the USA | -| `AdjustConfig.UrlStrategyChina` | Points the URL strategy to the `app.adjust.world` domain | -| `AdjustConfig.UrlStrategyCn` | Points the URL strategy to the `app.adjust.cn` domain | -| `AdjustConfig.UrlStrategyIndia` | Points the URL strategy to the `app.adjust.net.in` domain | - -
- -
- -
- - - -## setCoppaCompliantEnabled - -Enable COPPA (Children's Online Privacy Protection Act) compliance in your app. - - - -import SetCoppaCompliantEnabledSig from "@react-native-signatures/AdjustConfig/setCoppaCompliantEnabled.mdx"; - - - - - - - -import SetCoppaCompliantEnabled from "@react-native-examples/AdjustConfig/setCoppaCompliantEnabled.mdx"; - - - - - - - -`coppaCompliantEnabled` (boolean): Whether the app should be COPPA compliant. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustconfig/setup.mdx b/src/content/docs/sdk/react-native/reference/adjustconfig/setup.mdx deleted file mode 100644 index 111d1cbd37..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustconfig/setup.mdx +++ /dev/null @@ -1,574 +0,0 @@ ---- -title: Setup methods -description: Configure these properties to set up the Adjust SDK. -slug: en/sdk/react-native/reference/adjustconfig/setup -sidebar-position: 1 ---- - -Configure these properties to set up the Adjust SDK. - - - -## setLogLevel - -Set the verbosity of logs you want to receive from the Adjust SDK. - - - -import SetLogLevelSig from "@react-native-signatures/AdjustConfig/setLogLevel.mdx"; - - - - - - - -import SetLogLevel from "@react-native-examples/AdjustConfig/setLogLevel.mdx"; - - - - - - - -`logLevel` (LogLevel): The level of logging output by the SDK. - - - -| Log level | Description | -| ------------------------------- | ------------------------------------------ | -| `AdjustConfig.LogLevelVerbose` | Enable all logging | -| `AdjustConfig.LogLevelDebug` | Enable debug logging | -| `AdjustConfig.LogLevelInfo` | Only show info level logs (default option) | -| `AdjustConfig.LogLevelWarn` | Disable info logging | -| `AdjustConfig.LogLevelError` | Disable warning level logging and below | -| `AdjustConfig.LogLevelAssert` | Disable error level logging and below | -| `AdjustConfig.LogLevelSuppress` | Suppress all logging | - -
- -
- -
- - - -## setDefaultTracker - -Sets a default token to record installs against. - - - -import SetDefaultTrackerSig from "@react-native-signatures/AdjustConfig/setDefaultTracker.mdx"; - - - - - - - -import SetDefaultTracker from "@react-native-examples/AdjustConfig/setDefaultTracker.mdx"; - - - - - - - -`defaultTracker` (string): The token to which all preinstalled sessions are attributed. - - - - - - - -## setSendInBackground - -Sets whether the SDK should send data while the app is running in the background. - - - -import SetSendInBackgroundSig from "@react-native-signatures/AdjustConfig/sendInBackground.mdx"; - - - - - - - -import SetSendInBackground from "@react-native-examples/AdjustConfig/sendInBackground.mdx"; - - - - - - - -`sendInBackground` (boolean): Whether the SDK should send information to Adjust when the app is running in the background. - - - - - - - -## setSessionTrackingSucceededCallbackListener - -Sets up a success callback to trigger a function when the SDK records a session. - - - -import SetSessionTrackingSucceededCallbackListenerSig from "@react-native-signatures/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx"; - - - - - - - -import SetSessionTrackingSucceededCallbackListener from "@react-native-examples/AdjustConfig/setSessionTrackingSucceededCallbackListener.mdx"; - - - - - - - -`callback` (function): The function to launch when the SDK successfully records a session. - - - - - - - -## setSessionTrackingFailedCallbackListener - -Sets up a callback to trigger a function when the SDK fails to record a session. - - - -import SetSessionTrackingFailedCallbackListenerSig from "@react-native-signatures/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx"; - - - - - - - -import SetSessionTrackingFailedCallbackListener from "@react-native-examples/AdjustConfig/setSessionTrackingFailedCallbackListener.mdx"; - - - - - - - -`callback` (function): The function to launch when the SDK fails to record a session. - - - - - - - -## setEventTrackingSucceededCallbackListener - -Sets up a success callback to trigger a function when the SDK records an event. - - - -import SetEventTrackingSucceededCallbackListenerSig from "@react-native-signatures/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx"; - - - - - - - -import SetEventTrackingSucceededCallbackListener from "@react-native-examples/AdjustConfig/setEventTrackingSucceededCallbackListener.mdx"; - - - - - - - -`callback` (function): The function to launch when the SDK successfully records an event. - - - - - - - -## setEventTrackingFailedCallbackListener - -Sets up a callback to trigger a function when the SDK fails to record a session. - - - -import SetEventTrackingFailedCallbackListenerSig from "@react-native-signatures/AdjustConfig/setEventTrackingFailedCallbackListener.mdx"; - - - - - - - -import SetEventTrackingFailedCallbackListener from "@react-native-examples/AdjustConfig/setEventTrackingFailedCallbackListener.mdx"; - - - - - - - -`callback` (function): The function to launch when the SDK fails to record an event. - - - - - - - -## setDelayStart - -Sets a delay before the SDK starts to allow data to load before session information is sent to Adjust's servers. - - - -You can delay the start of the SDK by up to **10 seconds**. - - - - - -import SetDelayStartSig from "@react-native-signatures/AdjustConfig/setDelayStart.mdx"; - - - - - - - -import SetDelayStart from "@react-native-examples/AdjustConfig/setDelayStart.mdx"; - - - - - - - -`delayStart` (number): The time (in seconds) to delay the start of the SDK by. - - - - - - - -## setExternalDeviceId - -Sets an external device identifier for reporting purposes. - - - -import SetExternalDeviceIdSig from "@react-native-signatures/AdjustConfig/setExternalDeviceId.mdx"; - - - - - - - -import SetExternalDeviceId from "@react-native-examples/AdjustConfig/setExternalDeviceId.mdx"; - - - - - - - -`externalDeviceId` (string): The external device ID associated with the device. - - - - - - - -## setEventBufferingEnabled - -Sets event buffering. If enabled, the SDK stores events on the device and sends all requests once per minute. - - - -import SetEventBufferingEnabledSig from "@react-native-signatures/AdjustConfig/setEventBufferingEnabled.mdx"; - - - - - - - -import SetEventBufferingEnabled from "@react-native-examples/AdjustConfig/setEventBufferingEnabled.mdx"; - - - - - - - -`eventBufferingEnabled` (boolean): Whether event buffering is enabled. - - - - - - - -## setNeedsCost - -Sets whether the SDK should gather cost data. This is accessible in the user's attribution information. - - - -import SetNeedsCostSig from "@react-native-signatures/AdjustConfig/setNeedsCost.mdx"; - - - - - - - -import SetNeedsCost from "@react-native-examples/AdjustConfig/setNeedsCost.mdx"; - - - - - - - -`needsCost` (boolean): Whether the SDK should gather cost data - - - - - - - -## setAttributionCallbackListener - -Sets a delegate function that fires when a user's attribution information updates. - - - -import SetAttributionCallbackListenerSig from "@react-native-signatures/AdjustConfig/setAttributionCallbackListener.mdx"; - - - - - - - -import SetAttributionCallbackListener from "@react-native-examples/AdjustConfig/setAttributionCallbackListener.mdx"; - - - - - - - -`callback` (function): The delegate function that the SDK calls when the user's attribution information changes. - - - - - - - -## setPreinstallTrackingEnabled - -Enables or disables preinstall tracking. - - - -import SetPreinstallTrackingEnabledSig from "@react-native-signatures/AdjustConfig/setPreinstallTrackingEnabled.mdx"; - - - - - - - -import SetPreinstallTrackingEnabled from "@react-native-examples/AdjustConfig/setPreinstallTrackingEnabled.mdx"; - - - - - - - -`preinstallTrackingEnabled` (boolean): Whether preinstall tracking is enabled. - - - - - - - -## setPreinstallFilePath - -Defines a relative path where preinstall information is available. - - - -This directory must be world-readable - - - - - -import SetPreinstallFilePathSig from "@react-native-signatures/AdjustConfig/setPreinstallFilePath.mdx"; - - - - - - - -import SetPreinstallFilePath from "@react-native-examples/AdjustConfig/setPreinstallFilePath.mdx"; - - - - - - - -`preinstallFilePath` (string): The path where the preinstall information is written. - - - - - - - -## deactivateSKAdNetworkHandling - -Turns off communication with SKAdNetwork. - - - -SKAdNetwork communication is enabled by default. - - - - - -import DeactivateSKAdNetworkHandlingSig from "@react-native-signatures/AdjustConfig/deactivateSKAdNetworkHandling.mdx"; - - - - - - - -import DeactivateSKAdNetworkHandling from "@react-native-examples/AdjustConfig/deactivateSKAdNetworkHandling.mdx"; - - - - - - - - - -## setDeferredDeeplinkCallbackListener - -Sets a callback listener that triggers when a deep link is opened. - - - -import SetDeferredDeeplinkCallbackListenerSig from "@react-native-signatures/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx"; - - - - - - - -import SetDeferredDeeplinkCallbackListener from "@react-native-examples/AdjustConfig/setDeferredDeeplinkCallbackListener.mdx"; - - - - - - - -`callback` (function): The function to launch when deep link content is received. - - - - - - - -## setLinkMeEnabled - -Toggle support for Adjust's [LinkMe solution](https://help.adjust.com/en/article/linkme) for deep linking. - - - -import SetLinkMeEnabledSig from "@react-native-signatures/AdjustConfig/setLinkMeEnabled.mdx"; - - - - - - - -import SetLinkMeEnabled from "@react-native-examples/AdjustConfig/setLinkMeEnabled.mdx"; - - - - - - - -`linkMeEnabled` (boolean): Whether to enable LinkMe. - - - - - - - -## setConversionValueUpdatedCallbackListener - -Sets a delegate function to call when the user's conversion value updates. - - - -import SetConversionValueUpdatedCallbackListenerSig from "@react-native-signatures/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx"; - - - - - - - -import SetConversionValueUpdatedCallbackListener from "@react-native-examples/AdjustConfig/setConversionValueUpdatedCallbackListener.mdx"; - - - - - - - -`callback` (function): The delegate function the SDK launches when the conversion value updates - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustevent.mdx b/src/content/docs/sdk/react-native/reference/adjustevent.mdx deleted file mode 100644 index f01e3b8a04..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustevent.mdx +++ /dev/null @@ -1,196 +0,0 @@ ---- -title: AdjustEvent class -description: Record information about events to send to Adjust. -category-title: AdjustEvent class -slug: en/sdk/react-native/reference/adjustevent ---- - -import TrackEvent from "@react-native-signatures/Adjust/trackEvent.mdx" - -This class contains information about events triggered in your application. You can send this information to Adjust's servers by passing an `AdjustEvent` object to the `trackEvent` method. - - - -## Constructor - -Instantiates an event object with an Adjust event token. - - - -import ConstructorSig from "@react-native-signatures/AdjustEvent/constructor.mdx" - - - - - - - -import Constructor from "@react-native-examples/AdjustEvent/constructor.mdx" - - - - - - - -`eventToken` (string): A 6 character Adjust event token. - - - - - - - -## setRevenue - -Sets the revenue and currency associated with an event. - - - -import SetRevenueSig from "@react-native-signatures/AdjustEvent/setRevenue.mdx" - - - - - - - -import SetRevenue from "@react-native-examples/AdjustEvent/setRevenue.mdx" - - - - - - - -`amount` (number): The amount of currency units associated with the event. - -`currency` (string): The 3 character [ISO 4217 code](https://www.iban.com/currency-codes) of the currency unit. - - - - - - - -## setTransactionId - -Sets a deduplication ID on your event to avoid recording duplicates. The SDK stores the last ten identifiers and skips revenue events with duplicate IDs. - - - -import SetTransactionIdSig from "@react-native-signatures/AdjustEvent/setTransactionId.mdx" - - - - - - - -import SetTransactionId from "@react-native-examples/AdjustEvent/setTransactionId.mdx" - - - - - - - -`transactionId` (string): A unique identifier used to deduplicate events. - - - - - - - -## setCallbackId - -Sets a custom identifier for your event object. Adjust's servers can report on this identifier in event callbacks. - - - -import SetCallbackIdSig from "@react-native-signatures/AdjustEvent/setCallbackId.mdx" - - - - - - - -import SetCallbackId from "@react-native-examples/AdjustEvent/setCallbackId.mdx" - - - - - - - -`callbackId` (string): A custom identifier for your event object. - - - - - - - -## addCallbackParameter - -Adds key-value information to send to your callback URL. - - - -import AddCallbackParameterSig from "@react-native-signatures/AdjustEvent/addCallbackParameter.mdx" - - - - - - - -import AddCallbackParameter from "@react-native-examples/AdjustEvent/addCallbackParameter.mdx" - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - - - - -## addPartnerParameter - -Adds key-value information to share with partners. - - - -import AddPartnerParameterSig from "@react-native-signatures/AdjustEvent/addPartnerParameter.mdx" - - - - - - - -import AddPartnerParameter from "@react-native-examples/AdjustEvent/addPartnerParameter.mdx" - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustplaystoresubscription.mdx b/src/content/docs/sdk/react-native/reference/adjustplaystoresubscription.mdx deleted file mode 100644 index 27a6c84f0e..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustplaystoresubscription.mdx +++ /dev/null @@ -1,145 +0,0 @@ ---- -title: AdjustPlayStoreSubscription class -description: Use this class to store Play Store subscription information. -category-title: AdjustPlayStoreSubscription class -slug: en/sdk/react-native/reference/adjustplaystoresubscription ---- - -import TrackPlayStoreSubscription from "@react-native-signatures/Adjust/trackPlayStoreSubscription.mdx" - -Use this class to store Play Store subscription information. You can pass this to Adjust's servers using the `trackPlayStoreSubscription` method. - - - -## Constructor - -Instantiates a subscription object. - - - -import ConstructorSig from "@react-native-signatures/AdjustPlayStoreSubscription/constructor.mdx" - - - - - - - -import Constructor from "@react-native-examples/AdjustPlayStoreSubscription/adjustPlayStoreSubscription.mdx" - - - - - - - -`price` (string): The price of the subscription. - -`currency` (string): The currency of the subscription. Formatted as the [`currencyCode`](https://developer.apple.com/documentation/foundation/nslocale/1642836-currencycode?language=objc) of the [`priceLocale`](https://developer.apple.com/documentation/storekit/skproduct/1506145-pricelocale?language=objc) object - -`sku` (string): The ID of the product. - -`orderId` (string): Your ID for the transaction. - -`signature` (string): The signature of the purchase data. - -`purchaseToken` (string): The unique token of the transaction. See [Google's documentation](https://developer.android.com/reference/com/android/billingclient/api/Purchase#getPurchaseToken()) for more information. - - - - - - - -## setPurchaseTime - -Sets the date of the transaction in the subscription object. - - - -import SetPurchaseTimeSig from "@react-native-signatures/AdjustPlayStoreSubscription/setPurchaseTime.mdx" - - - - - - - -import SetPurchaseTime from "@react-native-examples/AdjustPlayStoreSubscription/setPurchaseTime.mdx" - - - - - - - -`purchaseTime` (string): The date on which the subscription was purchased. - - - - - - - -## addCallbackParameter - -Adds key-value callback parameters to the subscription object. You can add multiple parameters by calling this method multiple times. - - - -import AddCallbackParameterSig from "@react-native-signatures/AdjustPlayStoreSubscription/addCallbackParameter.mdx" - - - - - - - - -import AddCallbackParameter from "@react-native-examples/AdjustPlayStoreSubscription/addCallbackParameter.mdx" - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - - - - -## addPartnerParameter - -Adds key-value callback parameters to the subscription object. You can add multiple parameters by calling this method multiple times. - - - -import AddPartnerParameterSig from "@react-native-signatures/AdjustPlayStoreSubscription/addPartnerParameter.mdx" - - - - - - - -import AddPartnerParameter from "@react-native-examples/AdjustPlayStoreSubscription/addPartnerParameter.mdx" - - - - - - - -`key` (string): The data key. - -`value` (string): The data value. - - - - diff --git a/src/content/docs/sdk/react-native/reference/adjustthirdpartysharing.mdx b/src/content/docs/sdk/react-native/reference/adjustthirdpartysharing.mdx deleted file mode 100644 index e20d973b2f..0000000000 --- a/src/content/docs/sdk/react-native/reference/adjustthirdpartysharing.mdx +++ /dev/null @@ -1,139 +0,0 @@ ---- -title: AdjustThirdPartySharing class -description: Use this class to communicate a user's third party sharing preferences. -category-title: AdjustThirdPartySharing class -slug: en/sdk/react-native/reference/adjustthirdpartysharing ---- - -import TrackThirdPartySharing from "@react-native-signatures/Adjust/trackThirdPartySharing.mdx" - -Use this class to communicate a user's third party sharing preferences. Send this information to Adjust's servers using the `trackThirdPartySharing` method. - - - -## Constructor - -Creates a third party sharing object initialized with a **nullable boolean** value. - - - -import Constructor from "@react-native-signatures/AdjustThirdPartySharing/constructor.mdx"; - - - - - - - -import InitTrue from "@react-native-examples/AdjustThirdPartySharing/initTrue.mdx"; - - - - - - - -`isEnabled` (boolean): Whether third party sharing is enabled. - - - - - - - -## addGranularOption - -Adds additional key-value pairs of information to share with third parties. You can add multiple parameters by calling this method multiple times. - - - -import AddGranularOptionSig from "@react-native-signatures/AdjustThirdPartySharing/addGranularOption.mdx" - - - - - - - -import AddGranularOption from "@react-native-examples/AdjustThirdPartySharing/addGranularOption.mdx"; - - - -You can use this method to toggle Facebook data processing options. - -import Facebook from "@react-native-examples/AdjustThirdPartySharing/addGranularOptionFacebook.mdx"; - - - - - -| Parameter | Description | -| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `partner_name` | Use `facebook` to toggle LDU. | -| `data_processing_options_country` | The country in which the user is located.
  • `0`: Request that Facebook use geolocation.
  • `1`: United States of America.
| -| `data_processing_options_state` | Notifies Facebook in which state the user is located.
  • `0`: Request that Facebook use geolocation.
  • `1000`: California.
| - -
- -
- - - -`partnerName` (string): The name of the partner you want to share information with. - -`key` (string): The data key. - -`value` (string): The data value. - - - -
- - - -## addPartnerSharingSetting - -Adds additional key-value pairs of settings to share with third parties. You can add multiple settings by calling this method multiple times. - - - -import AddPartnerSharingSettingSig from "@react-native-signatures/AdjustThirdPartySharing/addPartnerSharingSetting.mdx"; - - - - - - - -import AddPartnerSharingSetting from "@react-native-examples/AdjustThirdPartySharing/addPartnerSharingSetting.mdx"; - - - - - - - -`partnerName` (string): The name of the partner whose settings you want to update. See the table of available partners below. -`key` (string): The setting you want to update. -`value` (boolean): Whether the setting is enabled. - - - -| Partner name | String value | -| ----------------------- | --------------------------- | -| AppleAds | `apple_ads` | -| Facebook | `facebook` | -| GoogleAds | `adwords` | -| GoogleMarketingPlatform | `google_marketing_platform` | -| Snapchat | `snapchat` | -| Tencent | `tencent` | -| TikTokSan | `tiktok_san` | -| Twitter | `twitter` | -| YahooGemini | `yahoo_gemini` | -| YahooJapanSearch | `yahoo_japan_search` | - -
- -
- -
diff --git a/src/content/docs/sdk/react-native/reference/index.mdx b/src/content/docs/sdk/react-native/reference/index.mdx deleted file mode 100644 index 51a995357e..0000000000 --- a/src/content/docs/sdk/react-native/reference/index.mdx +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: SDK reference -description: SDK reference information for the React Native SDK -category-title: Reference -slug: en/sdk/react-native/reference -type: category ----