Skip to content

Commit f8a6dfd

Browse files
authored
Merge pull request #247 from adjust/v501
Version 5.0.1
2 parents 80e4791 + 9362ec3 commit f8a6dfd

File tree

7 files changed

+23
-8
lines changed

7 files changed

+23
-8
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
### Version 5.0.1 (10th September 2024)
2+
#### Fixed
3+
- Added missing `AdjustDeeplink` class export to `index.d.ts` (https://github.com/adjust/react_native_sdk/pull/246).
4+
- Renamed `AdjustDeeplink` interface to `AdjustDeferredDeeplink` to avoid naming collision with as of now the class named `AdjustDeeplink`.
5+
6+
#### Native SDKs
7+
- [[email protected]][ios_sdk_v5.0.0]
8+
- [[email protected]][android_sdk_v5.0.0]
9+
10+
---
11+
112
### Version 5.0.0 (6th September 2024)
213

314
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.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
5.0.1

index.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ declare module 'react-native-adjust' {
5050
jsonResponse: string
5151
}
5252

53-
interface AdjustDeeplink {
53+
interface AdjustDeferredDeeplink {
5454
deeplink: string
5555
}
5656

@@ -113,7 +113,7 @@ declare module 'react-native-adjust' {
113113
): void
114114

115115
public setDeferredDeeplinkCallback(
116-
callback: (deeplink: AdjustDeeplink) => void
116+
callback: (deeplink: AdjustDeferredDeeplink) => void
117117
): void
118118

119119
public setSkanUpdatedCallback(
@@ -189,6 +189,10 @@ declare module 'react-native-adjust' {
189189
constructor(productId: string, purchaseToken: string)
190190
}
191191

192+
export class AdjustDeeplink {
193+
constructor(deeplink: string)
194+
}
195+
192196
export const Adjust: {
193197
componentWillUnmount: () => void
194198
initSdk: (adjustConfig: AdjustConfig) => void

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Adjust.getAmazonAdId = function(callback) {
152152
};
153153

154154
Adjust.getSdkVersion = function(callback) {
155-
module_adjust.getSdkVersion("react-native5.0.0", callback);
155+
module_adjust.getSdkVersion("react-native5.0.1", callback);
156156
};
157157

158158
Adjust.requestAppTrackingAuthorization = function(callback) {
@@ -294,7 +294,7 @@ Adjust.onPause = function(testParam) {
294294
// AdjustConfig
295295

296296
var AdjustConfig = function(appToken, environment) {
297-
this.sdkPrefix = "react-native5.0.0";
297+
this.sdkPrefix = "react-native5.0.1";
298298
this.appToken = appToken;
299299
this.environment = environment;
300300
this.logLevel = null;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-adjust",
33
"description": "Adjust React Native SDK",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"main": "index.js",
66
"author": "Adjust",
77
"license": "MIT",

plugins/oaid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-adjust-oaid",
33
"description": "Adjust React Native OAID plugin",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"main": "index.js",
66
"author": "Adjust",
77
"license": "MIT",

test/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-adjust-test",
33
"description": "Adjust Test Plugin For React Native SDK",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"author": "Adjust",
66
"license": "MIT",
77
"keywords": [

0 commit comments

Comments
 (0)