Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### Version 5.0.1 (10th September 2024)
#### Fixed
- Added missing `AdjustDeeplink` class export to `index.d.ts` (https://github.com/adjust/react_native_sdk/pull/246).
- Renamed `AdjustDeeplink` interface to `AdjustDeferredDeeplink` to avoid naming collision with as of now the class named `AdjustDeeplink`.

#### Native SDKs
- [[email protected]][ios_sdk_v5.0.0]
- [[email protected]][android_sdk_v5.0.0]

---

### Version 5.0.0 (6th September 2024)

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.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
5.0.1
8 changes: 6 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare module 'react-native-adjust' {
jsonResponse: string
}

interface AdjustDeeplink {
interface AdjustDeferredDeeplink {
deeplink: string
}

Expand Down Expand Up @@ -113,7 +113,7 @@ declare module 'react-native-adjust' {
): void

public setDeferredDeeplinkCallback(
callback: (deeplink: AdjustDeeplink) => void
callback: (deeplink: AdjustDeferredDeeplink) => void
): void

public setSkanUpdatedCallback(
Expand Down Expand Up @@ -189,6 +189,10 @@ declare module 'react-native-adjust' {
constructor(productId: string, purchaseToken: string)
}

export class AdjustDeeplink {
constructor(deeplink: string)
}

export const Adjust: {
componentWillUnmount: () => void
initSdk: (adjustConfig: AdjustConfig) => void
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Adjust.getAmazonAdId = function(callback) {
};

Adjust.getSdkVersion = function(callback) {
module_adjust.getSdkVersion("react-native5.0.0", callback);
module_adjust.getSdkVersion("react-native5.0.1", callback);
};

Adjust.requestAppTrackingAuthorization = function(callback) {
Expand Down Expand Up @@ -294,7 +294,7 @@ Adjust.onPause = function(testParam) {
// AdjustConfig

var AdjustConfig = function(appToken, environment) {
this.sdkPrefix = "react-native5.0.0";
this.sdkPrefix = "react-native5.0.1";
this.appToken = appToken;
this.environment = environment;
this.logLevel = null;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-adjust",
"description": "Adjust React Native SDK",
"version": "5.0.0",
"version": "5.0.1",
"main": "index.js",
"author": "Adjust",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion plugins/oaid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-adjust-oaid",
"description": "Adjust React Native OAID plugin",
"version": "5.0.0",
"version": "5.0.1",
"main": "index.js",
"author": "Adjust",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion test/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-adjust-test",
"description": "Adjust Test Plugin For React Native SDK",
"version": "5.0.0",
"version": "5.0.1",
"author": "Adjust",
"license": "MIT",
"keywords": [
Expand Down