Skip to content

Commit

Permalink
Merge pull request #261 from adjust/v504
Browse files Browse the repository at this point in the history
Version 5.0.4
  • Loading branch information
uerceg authored Jan 17, 2025
2 parents 166aadb + d14346e commit 3e2c7c9
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 32 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### Version 5.0.4 (17th January 2025)
#### Fixed
- Fixed type mismatch of some `AdjustPlayStoreSubscription` fields in JS and TS (https://github.com/adjust/react_native_sdk/issues/260).

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

---

### Version 5.0.3 (6th December 2024)
#### Changed
- Switched to native Android SDK version that depends on a specific version of the signature library.
Expand Down Expand Up @@ -709,6 +719,7 @@ In case you were using beta version of the SDK v5, please switch to the official
[ios_sdk_v4.38.2]: https://github.com/adjust/ios_sdk/tree/v4.38.2
[ios_sdk_v5.0.0]: https://github.com/adjust/ios_sdk/tree/v5.0.0
[ios_sdk_v5.0.1]: https://github.com/adjust/ios_sdk/tree/v5.0.1
[ios_sdk_v5.0.2]: https://github.com/adjust/ios_sdk/tree/v5.0.2

[android_sdk_v4.10.4]: https://github.com/adjust/android_sdk/tree/v4.10.4
[android_sdk_v4.11.0]: https://github.com/adjust/android_sdk/tree/v4.11.0
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.3
5.0.4
20 changes: 10 additions & 10 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Adjust (5.0.0):
- Adjust/Adjust (= 5.0.0)
- Adjust/Adjust (5.0.0):
- AdjustSignature (~> 3.18)
- AdjustSignature (3.20.1)
- Adjust (5.0.2):
- Adjust/Adjust (= 5.0.2)
- Adjust/Adjust (5.0.2):
- AdjustSignature (= 3.35.2)
- AdjustSignature (3.35.2)
- boost (1.83.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.74.2)
Expand Down Expand Up @@ -940,8 +940,8 @@ PODS:
- React-Mapbuffer (0.74.2):
- glog
- React-debug
- react-native-adjust (5.0.0):
- Adjust (= 5.0.0)
- react-native-adjust (5.0.4):
- Adjust (= 5.0.2)
- React-Core
- React-nativeconfig (0.74.2)
- React-NativeModulesApple (0.74.2):
Expand Down Expand Up @@ -1354,8 +1354,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
Adjust: a1421f630c529258d7e170a8a76647f9721f7fbd
AdjustSignature: cd0263e5672da024e8671888ea164c9c7496fe3b
Adjust: 9ac6dd4a33cb343874633dc14e94c01a6c0f1cdf
AdjustSignature: 23b9e5d4adcadffc303bb6b410fde617dd88504f
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
FBLazyVector: 4bc164e5b5e6cfc288d2b5ff28643ea15fa1a589
Expand Down Expand Up @@ -1386,7 +1386,7 @@ SPEC CHECKSUMS:
React-jsitracing: 0fa7f78d8fdda794667cb2e6f19c874c1cf31d7e
React-logger: 29fa3e048f5f67fe396bc08af7606426d9bd7b5d
React-Mapbuffer: bf56147c9775491e53122a94c423ac201417e326
react-native-adjust: 10a4f635c00e69a34105c2cbaa8d8b7558a187ce
react-native-adjust: e26ec2e5222bdec9d5f6ca6ed975215248d6a9c5
React-nativeconfig: 9f223cd321823afdecf59ed00861ab2d69ee0fc1
React-NativeModulesApple: ff7efaff7098639db5631236cfd91d60abff04c0
React-perflogger: 32ed45d9cee02cf6639acae34251590dccd30994
Expand Down
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ declare module 'react-native-adjust' {

export class AdjustPlayStoreSubscription {
constructor(
price: string,
price: number,
currency: string,
sku: string,
orderId: string,
signature: string,
purchaseToken: string)
public setPurchaseTime(purchaseTime: string): void
public setPurchaseTime(purchaseTime: number): void
public addCallbackParameter(key: string, value: string): void
public addPartnerParameter(key: string, value: string): 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.3", callback);
module_adjust.getSdkVersion("react-native5.0.4", 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.3";
this.sdkPrefix = "react-native5.0.4";
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.3",
"version": "5.0.4",
"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.3",
"version": "5.0.4",
"main": "index.js",
"author": "Adjust",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion react-native-adjust.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Pod::Spec.new do |s|
s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js'
s.source_files = 'ios/*.{h,m}'

s.dependency 'Adjust', '5.0.1'
s.dependency 'Adjust', '5.0.2'
s.dependency 'React-Core'
end
2 changes: 1 addition & 1 deletion test/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const App: () => React$Node = () => {
}

var urlOverwrite = "";
var ipAddress = "192.168.8.38";
var ipAddress = "192.168.8.202";
if (Platform.OS === "android") {
urlOverwrite = "https://" + ipAddress + ":8443";
} else if (Platform.OS === "ios") {
Expand Down
24 changes: 12 additions & 12 deletions test/app/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Adjust (5.0.1):
- Adjust/Adjust (= 5.0.1)
- Adjust/Adjust (5.0.1):
- AdjustSignature (~> 3.18)
- AdjustSignature (3.35.1)
- Adjust (5.0.2):
- Adjust/Adjust (= 5.0.2)
- Adjust/Adjust (5.0.2):
- AdjustSignature (= 3.35.2)
- AdjustSignature (3.35.2)
- boost (1.84.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.75.2)
Expand Down Expand Up @@ -1242,10 +1242,10 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-adjust (5.0.3):
- Adjust (= 5.0.1)
- react-native-adjust (5.0.4):
- Adjust (= 5.0.2)
- React-Core
- react-native-adjust-test (5.0.3):
- react-native-adjust-test (5.0.4):
- React
- React-nativeconfig (0.75.2)
- React-NativeModulesApple (0.75.2):
Expand Down Expand Up @@ -1716,8 +1716,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
Adjust: f27daaa40d0df5550b89dd428cd8545d812e1f6d
AdjustSignature: 3d91f56861c28ae12b0377a8dcf3cc94ab239166
Adjust: 9ac6dd4a33cb343874633dc14e94c01a6c0f1cdf
AdjustSignature: 23b9e5d4adcadffc303bb6b410fde617dd88504f
boost: 4cb898d0bf20404aab1850c656dcea009429d6c1
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
FBLazyVector: 38bb611218305c3bc61803e287b8a81c6f63b619
Expand Down Expand Up @@ -1753,8 +1753,8 @@ SPEC CHECKSUMS:
React-logger: 8db32983d75dc2ad54f278f344ccb9b256e694fc
React-Mapbuffer: 1c08607305558666fd16678b85ef135e455d5c96
React-microtasksnativemodule: 87b8de96f937faefece8afd2cb3a518321b2ef99
react-native-adjust: 59b523d8ef1dc2c0516fb7120ed04cdfc5510a90
react-native-adjust-test: ff7a6d4b8e60ad140c5543723c319801f468b29a
react-native-adjust: e26ec2e5222bdec9d5f6ca6ed975215248d6a9c5
react-native-adjust-test: 9e1b3a5e8d8e340797167d9fc76b1f05cb973ee3
React-nativeconfig: 57781b79e11d5af7573e6f77cbf1143b71802a6d
React-NativeModulesApple: 7ff2e2cfb2e5fa5bdedcecf28ce37e696c6ef1e1
React-perflogger: 8a360ccf603de6ddbe9ff8f54383146d26e6c936
Expand Down
Binary file modified test/lib/android/libs/adjust-test-library.jar
Binary file not shown.
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.3",
"version": "5.0.4",
"author": "Adjust",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit 3e2c7c9

Please sign in to comment.