react-native-adjust
Advanced tools
Comparing version 4.35.1 to 4.37.0
@@ -0,1 +1,17 @@ | ||
### Version 4.37.0 (30th January 2024) | ||
#### Added | ||
- Added ability to process shortened deep links and provide the unshortened link back as a response. You can achieve this by invoking `processDeeplink` method of the `Adjust` instance. | ||
- Added support for Meta install referrer. | ||
- Added getter for obtaining IDFV value of the iOS device. You can obtain IDFV value by calling `getIdfv` method of the `Adjust` instance. | ||
- Added support for Google Play Games on PC. | ||
- Added support for `TopOn` and `AD(X)` ad revenue tracking. | ||
- Added a new type of URL strategy called `AdjustConfig.AdjustUrlStrategyCnOnly`. This URL strategy represents `AdjustConfig.AdjustUrlStrategyCn` strategy, but without fallback domains. | ||
- Added ability to indicate if the device IDs should be read just once per SDK initialization via calling `setReadDeviceInfoOnceEnabled` method of the `AdjustConfig` instance. | ||
#### Native SDKs | ||
- [iOS@v4.37.0][ios_sdk_v4.37.0] | ||
- [Android@v4.38.1][android_sdk_v4.38.1] | ||
--- | ||
### Version 4.35.1 (10th October 2023) | ||
@@ -8,2 +24,3 @@ #### Added | ||
- [Android@v4.35.1][android_sdk_v4.35.1] | ||
--- | ||
@@ -593,2 +610,3 @@ | ||
[ios_sdk_v4.35.2]: https://github.com/adjust/ios_sdk/tree/v4.35.2 | ||
[ios_sdk_v4.37.0]: https://github.com/adjust/ios_sdk/tree/v4.37.0 | ||
@@ -628,1 +646,2 @@ [android_sdk_v4.10.4]: https://github.com/adjust/android_sdk/tree/v4.10.4 | ||
[android_sdk_v4.35.1]: https://github.com/adjust/android_sdk/tree/v4.35.1 | ||
[android_sdk_v4.38.1]: https://github.com/adjust/android_sdk/tree/v4.38.1 |
@@ -107,2 +107,4 @@ declare module 'react-native-adjust' { | ||
public setAttConsentWaitingInterval(attConsentWaitingInterval: number): void | ||
public setReadDeviceInfoOnceEnabled(readDeviceInfoOnceEnabled: boolean): void | ||
public setFbAppId(fbAppId: string): void | ||
@@ -153,5 +155,14 @@ public setAttributionCallbackListener( | ||
static UrlStrategyCn: UrlStrategy | ||
static UrlStrategyCnOnly: UrlStrategy | ||
static DataResidencyEU: UrlStrategy | ||
static DataResidencyTR: UrlStrategy | ||
static DataResidencyUS: UrlStrategy | ||
static AdRevenueSourceAppLovinMAX: string | ||
static AdRevenueSourceMopub: string | ||
static AdRevenueSourceAdmob: string | ||
static AdRevenueSourceIronSource: string | ||
static AdRevenueSourceAdmost: string | ||
static AdRevenueSourcePublisher: string | ||
static AdRevenueSourceTopOn: string | ||
static AdRevenueSourceAdx: string | ||
} | ||
@@ -239,2 +250,3 @@ | ||
getIdfa: (callback: (idfa: string) => void) => void | ||
getIdfv: (callback: (idfv: string) => void) => void | ||
getGoogleAdId: (callback: (adid: string) => void) => void | ||
@@ -258,4 +270,4 @@ getAdid: (callback: (adid: string) => void) => void | ||
verifyPlayStorePurchase: (purchase: AdjustPlayStorePurchase, callback: (verificationInfo: AdjustPurchaseVerificationInfo) => void) => void | ||
processDeeplink: (deeplink: string, callback: (resolvedLink: string) => void) => void | ||
} | ||
} |
35
index.js
@@ -118,2 +118,6 @@ 'use strict'; | ||
Adjust.getIdfv = function(callback) { | ||
module_adjust.getIdfv(callback); | ||
}; | ||
Adjust.getGoogleAdId = function(callback) { | ||
@@ -136,3 +140,3 @@ module_adjust.getGoogleAdId(callback); | ||
Adjust.getSdkVersion = function(callback) { | ||
module_adjust.getSdkVersion("react-native4.35.1", callback); | ||
module_adjust.getSdkVersion("react-native4.37.0", callback); | ||
}; | ||
@@ -201,2 +205,6 @@ | ||
Adjust.processDeeplink = function(deeplink, callback) { | ||
module_adjust.processDeeplink(deeplink, callback); | ||
}; | ||
Adjust.componentWillUnmount = function() { | ||
@@ -232,2 +240,12 @@ if (AdjustConfig.AttributionSubscription != null) { | ||
} | ||
if (AdjustConfig.ConversionValueUpdatedSubscription != null) { | ||
AdjustConfig.ConversionValueUpdatedSubscription.remove(); | ||
AdjustConfig.ConversionValueUpdatedSubscription = null; | ||
} | ||
if (AdjustConfig.Skad4ConversionValueUpdatedSubscription != null) { | ||
AdjustConfig.Skad4ConversionValueUpdatedSubscription.remove(); | ||
AdjustConfig.Skad4ConversionValueUpdatedSubscription = null; | ||
} | ||
}; | ||
@@ -269,3 +287,3 @@ | ||
var AdjustConfig = function(appToken, environment) { | ||
this.sdkPrefix = "react-native4.35.1"; | ||
this.sdkPrefix = "react-native4.37.0"; | ||
this.appToken = appToken; | ||
@@ -290,2 +308,3 @@ this.environment = environment; | ||
this.coppaCompliantEnabled = null; | ||
this.readDeviceInfoOnceEnabled = null; | ||
// Android only | ||
@@ -298,2 +317,3 @@ this.processName = null; | ||
this.finalAndroidAttributionEnabled = null; | ||
this.fbAppId; | ||
// iOS only | ||
@@ -331,2 +351,3 @@ this.allowiAdInfoReading = null; | ||
AdjustConfig.UrlStrategyCn = "cn"; | ||
AdjustConfig.UrlStrategyCnOnly = "cn-only"; | ||
@@ -343,2 +364,4 @@ AdjustConfig.DataResidencyEU = "data-residency-eu"; | ||
AdjustConfig.AdRevenueSourcePublisher = "publisher_sdk"; | ||
AdjustConfig.AdRevenueSourceTopOn = "topon_sdk"; | ||
AdjustConfig.AdRevenueSourceAdx = "adx_sdk"; | ||
@@ -415,2 +438,6 @@ AdjustConfig.prototype.setEventBufferingEnabled = function(isEnabled) { | ||
AdjustConfig.prototype.setReadDeviceInfoOnceEnabled = function(readDeviceInfoOnceEnabled) { | ||
this.readDeviceInfoOnceEnabled = readDeviceInfoOnceEnabled; | ||
}; | ||
AdjustConfig.prototype.setReadMobileEquipmentIdentity = function(readMobileEquipmentIdentity) { | ||
@@ -436,2 +463,6 @@ // this.readMobileEquipmentIdentity = readMobileEquipmentIdentity; | ||
AdjustConfig.prototype.setFbAppId = function(fbAppId) { | ||
this.fbAppId = fbAppId; | ||
}; | ||
AdjustConfig.prototype.setAllowiAdInfoReading = function(allowiAdInfoReading) { | ||
@@ -438,0 +469,0 @@ this.allowiAdInfoReading = allowiAdInfoReading; |
{ | ||
"name": "react-native-adjust", | ||
"description": "Adjust React Native SDK", | ||
"version": "4.35.1", | ||
"version": "4.37.0", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "author": "Adjust", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1210735
899