Skip to content

Commit 3e2c7c9

Browse files
authored
Merge pull request #261 from adjust/v504
Version 5.0.4
2 parents 166aadb + d14346e commit 3e2c7c9

File tree

12 files changed

+43
-32
lines changed

12 files changed

+43
-32
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
### Version 5.0.4 (17th January 2025)
2+
#### Fixed
3+
- Fixed type mismatch of some `AdjustPlayStoreSubscription` fields in JS and TS (https://github.com/adjust/react_native_sdk/issues/260).
4+
5+
#### Native SDKs
6+
- [[email protected]][ios_sdk_v5.0.2]
7+
- [[email protected]][android_sdk_v5.0.2]
8+
9+
---
10+
111
### Version 5.0.3 (6th December 2024)
212
#### Changed
313
- Switched to native Android SDK version that depends on a specific version of the signature library.
@@ -709,6 +719,7 @@ In case you were using beta version of the SDK v5, please switch to the official
709719
[ios_sdk_v4.38.2]: https://github.com/adjust/ios_sdk/tree/v4.38.2
710720
[ios_sdk_v5.0.0]: https://github.com/adjust/ios_sdk/tree/v5.0.0
711721
[ios_sdk_v5.0.1]: https://github.com/adjust/ios_sdk/tree/v5.0.1
722+
[ios_sdk_v5.0.2]: https://github.com/adjust/ios_sdk/tree/v5.0.2
712723

713724
[android_sdk_v4.10.4]: https://github.com/adjust/android_sdk/tree/v4.10.4
714725
[android_sdk_v4.11.0]: https://github.com/adjust/android_sdk/tree/v4.11.0

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.3
1+
5.0.4

example/ios/Podfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
PODS:
2-
- Adjust (5.0.0):
3-
- Adjust/Adjust (= 5.0.0)
4-
- Adjust/Adjust (5.0.0):
5-
- AdjustSignature (~> 3.18)
6-
- AdjustSignature (3.20.1)
2+
- Adjust (5.0.2):
3+
- Adjust/Adjust (= 5.0.2)
4+
- Adjust/Adjust (5.0.2):
5+
- AdjustSignature (= 3.35.2)
6+
- AdjustSignature (3.35.2)
77
- boost (1.83.0)
88
- DoubleConversion (1.1.6)
99
- FBLazyVector (0.74.2)
@@ -940,8 +940,8 @@ PODS:
940940
- React-Mapbuffer (0.74.2):
941941
- glog
942942
- React-debug
943-
- react-native-adjust (5.0.0):
944-
- Adjust (= 5.0.0)
943+
- react-native-adjust (5.0.4):
944+
- Adjust (= 5.0.2)
945945
- React-Core
946946
- React-nativeconfig (0.74.2)
947947
- React-NativeModulesApple (0.74.2):
@@ -1354,8 +1354,8 @@ EXTERNAL SOURCES:
13541354
:path: "../node_modules/react-native/ReactCommon/yoga"
13551355

13561356
SPEC CHECKSUMS:
1357-
Adjust: a1421f630c529258d7e170a8a76647f9721f7fbd
1358-
AdjustSignature: cd0263e5672da024e8671888ea164c9c7496fe3b
1357+
Adjust: 9ac6dd4a33cb343874633dc14e94c01a6c0f1cdf
1358+
AdjustSignature: 23b9e5d4adcadffc303bb6b410fde617dd88504f
13591359
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
13601360
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
13611361
FBLazyVector: 4bc164e5b5e6cfc288d2b5ff28643ea15fa1a589
@@ -1386,7 +1386,7 @@ SPEC CHECKSUMS:
13861386
React-jsitracing: 0fa7f78d8fdda794667cb2e6f19c874c1cf31d7e
13871387
React-logger: 29fa3e048f5f67fe396bc08af7606426d9bd7b5d
13881388
React-Mapbuffer: bf56147c9775491e53122a94c423ac201417e326
1389-
react-native-adjust: 10a4f635c00e69a34105c2cbaa8d8b7558a187ce
1389+
react-native-adjust: e26ec2e5222bdec9d5f6ca6ed975215248d6a9c5
13901390
React-nativeconfig: 9f223cd321823afdecf59ed00861ab2d69ee0fc1
13911391
React-NativeModulesApple: ff7efaff7098639db5631236cfd91d60abff04c0
13921392
React-perflogger: 32ed45d9cee02cf6639acae34251590dccd30994

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ declare module 'react-native-adjust' {
153153

154154
export class AdjustPlayStoreSubscription {
155155
constructor(
156-
price: string,
156+
price: number,
157157
currency: string,
158158
sku: string,
159159
orderId: string,
160160
signature: string,
161161
purchaseToken: string)
162-
public setPurchaseTime(purchaseTime: string): void
162+
public setPurchaseTime(purchaseTime: number): void
163163
public addCallbackParameter(key: string, value: string): void
164164
public addPartnerParameter(key: string, value: string): void
165165
}

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.3", callback);
155+
module_adjust.getSdkVersion("react-native5.0.4", 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.3";
297+
this.sdkPrefix = "react-native5.0.4";
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.3",
4+
"version": "5.0.4",
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.3",
4+
"version": "5.0.4",
55
"main": "index.js",
66
"author": "Adjust",
77
"license": "MIT",

react-native-adjust.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Pod::Spec.new do |s|
1818
s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js'
1919
s.source_files = 'ios/*.{h,m}'
2020

21-
s.dependency 'Adjust', '5.0.1'
21+
s.dependency 'Adjust', '5.0.2'
2222
s.dependency 'React-Core'
2323
end

test/app/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const App: () => React$Node = () => {
4848
}
4949

5050
var urlOverwrite = "";
51-
var ipAddress = "192.168.8.38";
51+
var ipAddress = "192.168.8.202";
5252
if (Platform.OS === "android") {
5353
urlOverwrite = "https://" + ipAddress + ":8443";
5454
} else if (Platform.OS === "ios") {

test/app/ios/Podfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
PODS:
2-
- Adjust (5.0.1):
3-
- Adjust/Adjust (= 5.0.1)
4-
- Adjust/Adjust (5.0.1):
5-
- AdjustSignature (~> 3.18)
6-
- AdjustSignature (3.35.1)
2+
- Adjust (5.0.2):
3+
- Adjust/Adjust (= 5.0.2)
4+
- Adjust/Adjust (5.0.2):
5+
- AdjustSignature (= 3.35.2)
6+
- AdjustSignature (3.35.2)
77
- boost (1.84.0)
88
- DoubleConversion (1.1.6)
99
- FBLazyVector (0.75.2)
@@ -1242,10 +1242,10 @@ PODS:
12421242
- ReactCommon/turbomodule/bridging
12431243
- ReactCommon/turbomodule/core
12441244
- Yoga
1245-
- react-native-adjust (5.0.3):
1246-
- Adjust (= 5.0.1)
1245+
- react-native-adjust (5.0.4):
1246+
- Adjust (= 5.0.2)
12471247
- React-Core
1248-
- react-native-adjust-test (5.0.3):
1248+
- react-native-adjust-test (5.0.4):
12491249
- React
12501250
- React-nativeconfig (0.75.2)
12511251
- React-NativeModulesApple (0.75.2):
@@ -1716,8 +1716,8 @@ EXTERNAL SOURCES:
17161716
:path: "../node_modules/react-native/ReactCommon/yoga"
17171717

17181718
SPEC CHECKSUMS:
1719-
Adjust: f27daaa40d0df5550b89dd428cd8545d812e1f6d
1720-
AdjustSignature: 3d91f56861c28ae12b0377a8dcf3cc94ab239166
1719+
Adjust: 9ac6dd4a33cb343874633dc14e94c01a6c0f1cdf
1720+
AdjustSignature: 23b9e5d4adcadffc303bb6b410fde617dd88504f
17211721
boost: 4cb898d0bf20404aab1850c656dcea009429d6c1
17221722
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
17231723
FBLazyVector: 38bb611218305c3bc61803e287b8a81c6f63b619
@@ -1753,8 +1753,8 @@ SPEC CHECKSUMS:
17531753
React-logger: 8db32983d75dc2ad54f278f344ccb9b256e694fc
17541754
React-Mapbuffer: 1c08607305558666fd16678b85ef135e455d5c96
17551755
React-microtasksnativemodule: 87b8de96f937faefece8afd2cb3a518321b2ef99
1756-
react-native-adjust: 59b523d8ef1dc2c0516fb7120ed04cdfc5510a90
1757-
react-native-adjust-test: ff7a6d4b8e60ad140c5543723c319801f468b29a
1756+
react-native-adjust: e26ec2e5222bdec9d5f6ca6ed975215248d6a9c5
1757+
react-native-adjust-test: 9e1b3a5e8d8e340797167d9fc76b1f05cb973ee3
17581758
React-nativeconfig: 57781b79e11d5af7573e6f77cbf1143b71802a6d
17591759
React-NativeModulesApple: 7ff2e2cfb2e5fa5bdedcecf28ce37e696c6ef1e1
17601760
React-perflogger: 8a360ccf603de6ddbe9ff8f54383146d26e6c936

0 commit comments

Comments
 (0)