Adjust SDK for React Native
This is the Adjust™ SDK for React Native. Documentation is available on our developer docs.
License
Distributed under the MIT license
.
Adjust React Native SDK
This is the Adjust™ SDK for React Native. Documentation is available on our developer docs.
Distributed under the MIT license
.
jsonResponse
field (JSON string) to AdjustAttribution
where every key-value pair sent by the backend as part of the attribution response can be found.AdjustPlayStoreSubscription
fields in JS and TS (https://github.com/adjust/react_native_sdk/issues/260).Adjust.modulemap not found
error in certain CocoaPods integration cases.AdjustDeeplink
class export to index.d.ts
(https://github.com/adjust/react_native_sdk/pull/246).AdjustDeeplink
interface to AdjustDeferredDeeplink
to avoid naming collision with as of now the class named AdjustDeeplink
.We're excited to release our major new SDK version (v5). Among many internal improvements, our spoofing protection solution is now included out of the box, reinforcing our commitment to accurate, actionable, and fraud-free data.
To try out SDK v5 in your app, you can follow our new v4 to v5 migration guide.
If you are a current Adjust client and have questions about SDK v5, please email sdk-v5@adjust.com.
In case you were using beta version of the SDK v5, please switch to the official v5 release.
third_party_sharing
and measurement_consent
packages if invoked before SDK initialization in subsequent SDK initializations.final
to address compilation errors when trying to access a callback inside of the inner class (https://github.com/adjust/react_native_sdk/issues/226).processDeeplink
method of the Adjust
instance.getIdfv
method of the Adjust
instance.TopOn
and AD(X)
ad revenue tracking.AdjustConfig.AdjustUrlStrategyCnOnly
. This URL strategy represents AdjustConfig.AdjustUrlStrategyCn
strategy, but without fallback domains.setReadDeviceInfoOnceEnabled
method of the AdjustConfig
instance.event_callback_id
parameter (if set) with the event payload.com.google.android.gms:play-services-appset
dependency to your Android app.setAttConsentWaitingInterval
method of the AdjustConfig
instance.verifyAppStorePurchase
(for iOS) and verifyPlayStorePurchase
(for Android) methods of the Adjust
instance.adj_signing_id
.setAndroidFinalAttributionEnabled
method to AdjustConfig
to indicate if only final Android attribution is needed in attribution callback (by default attribution callback return intermediate attribution as well before final attribution if not enabled with this setter method).setUrlStrategy
method of AdjustConfig
instance with AdjustConfig.UrlStrategyCn
parameter.transaction_date
parameter of iOS subscription tracking to be wrongly formatted.getLastDeeplink
getter to Adjust
API to be able to get last tracked deep link by the SDK (iOS only).com.google.android.gms.permission.AD_ID
in the Android app's manifest by default.React-Core
pod (https://github.com/adjust/react_native_sdk/issues/193).setCoppaCompliantEnabled
method of AdjustConfig
instance to true
.setPlayStoreKidsAppEnabled
method of AdjustConfig
instance to true
.checkForNewAttStatus
method to Adjust
API to allow iOS apps to instruct to SDK to check if att_status
might have changed in the meantime.LinkMe
feature.react-native
0.69 autolinking issue (https://github.com/adjust/react_native_sdk/pull/186).index.d.ts
(https://github.com/adjust/react_native_sdk/issues/157).Admost
ad revenue tracking.NativeEventEmitter
warnings caused by RN 0.66 upgrade (https://github.com/adjust/react_native_sdk/issues/147).trackAdRevenue
TypeScript method declaration (https://github.com/adjust/react_native_sdk/issues/134#issuecomment-892761735).create-react-native-app
plugin dependency (thanks to @kelleyvanevert).trackAdRevenue
TypeScript method declaration (https://github.com/adjust/react_native_sdk/issues/134).setUrlStrategy
method of AdjustConfig
instance with AdjustConfig.DataResidencyEU
(for EU data residency region), AdjustConfig.DataResidencyTR
(for TR data residency region) or AdjustConfig.DataResidencyUS
value (for US data residency region).trackAdRevenue
method of Adjust
interface to allow tracking of ad revenue by passing AdjustAdRevenue
object as parameter.AppLovin MAX
ad revenue tracking.setConversionValueUpdatedCallbackListener
method to AdjustConfig
which can be used to set a callback which will get information when Adjust SDK updates conversion value for the user.setPreinstallFilePath
method of the AdjustConfig
).setNeedsCost
method to AdjustConfig
to indicate if cost data is needed in attribution callback (by default cost data will not be part of attribution callback if not enabled with this setter method).setPreinstallTrackingEnabled
method to AdjustConfig
to allow enabling of preinstall tracking (this feature is OFF by default).AdServices.framework
.setAllowAdServicesInfoReading
method to AdjustConfig
to allow option for users to prevent SDK from performing any tasks related to Apple Search Ads attribution with usage of AdServices.framework
.updateConversionValue
method to Adjust
to allow updating SKAdNetwork conversion value via SDK API.getAppTrackingAuthorizationStatus
getter to Adjust
instance to be able to get current iOS app tracking status.trackAdRevenue
method.deactivateSKAdNetworkHandling
method to AdjustConfig
to switch off default communication with SKAdNetwork framework in iOS 14.requestTrackingAuthorizationWithCompletionHandler
to Adjust
to allow asking for user's consent to be tracked in iOS 14 and immediate propagation of user's choice to backend.setUrlStrategy
method to AdjustConfig
class to allow selection of URL strategy for specific market.react-native-adjust-oaid
. With this plugin added next to Adjust SDK, SDK will be able to read Open Advertising ID if present on the device.iAd.framework
.disableThirdPartySharing
method to Adjust
interface to allow disabling of data sharing with third parties outside of Adjust ecosystem.ad_revenue
package payload.convertUniversalLink
method from native iOS SDK to JS API (thanks to @tootsweet).SSH
to HTTPS
(thanks to @rawrmaan).trackAdRevenue
method to Adjust
interface to allow tracking of ad revenue. With this release added support for MoPub
ad revenue tracking.TypeScript
.getSdkVersion()
method to Adjust
interface to obtain current SDK version string.compile
keyword in plugin's build.gradle
file into implementation
(https://github.com/adjust/react_native_sdk/issues/47).setCallbackId
method on AdjustEvent
object for users to set custom ID on event object which will later be reported in event success/failure callbacks.callbackId
field to event tracking success callback object.callbackId
field to event tracking failure callback object.setReadMobileEquipmentIdentity
method of AdjustConfig
object as deprecated.appWillOpenUrl
method is called before SDK is initialised.gdprForgetMe
method to Adjust
interface to enable possibility for user to be forgotten in accordance with GDPR law.getAmazonAdId
method to Adjust
interface.setAppSecret
method to AdjustConfig
interface.setReadMobileEquipmentIdentity
method to AdjustConfig
interface.componentWillUnmount
method to Adjust
interface to unsubscribe from callbacks.RCTEventEmitter
instead of RCTBridge
for emitting native events (reference).use_frameworks!
option in Podfile
(thanks to @jimmy-devine).4.11.5
in react-native-adjust.podspec
.Podspec
file for Cocoapods support (thanks to @pietropizzi, @tecbot and @dan-manges).React Native 0.47.0 and higher
(thanks to @robertmerten and @ruiaraujo).React Native 0.47.0
.sdk_click
package response contains attribution information.sdk_click
package.assert
level logs with warn
level.BITCODE_GENERATION_MODE
to iOS framework for Carthage
support.sdk_info
package type causing logs not to print proper package name once tracked.Package Manager
from throwing unexpected exceptions (https://github.com/adjust/android_sdk/issues/266).[iOS]
, [AND]
, [WIN]
and [REPO]
tags to CHANGELOG
to highlight the platform the change is referring to.0.40.0
++ (thanks to @philipheinser, @philipshurpik and @dhorelik)Duplicate interface definition for class
error messages.adid
property to the attribution callback response.getAdid
method to the Adjust
instance to be able to get adid value at any time after obtaining it, not only when session/event callbacks have been triggered.getAttribution
method to the Adjust
instance to be able to get current attribution value at any time after obtaining it, not only when an attribution callback has been triggered.getIdfa
method to the Adjust
instance to be able to obtain iOS advertising identifier (IDFA).getGoogleAdId
method to the Adjust
instance to be able to obtain Google Play Services advertising identifier.adjust_config.properties
file to the assets
folder of your Android app. Mostly meant to be used by the Adjust Store & Pre-install Tracker Tool
(https://github.com/adjust/android_sdk/blob/master/doc/english/pre_install_tracker_tool.md).TARGET_OS_TV
pre-processor check for iOS platform.sdk_click
packages for iOS platform.iOS
and Android
.