From 21bbe6ee187d1adb0a1dc3fbce0db37b4b1615f6 Mon Sep 17 00:00:00 2001 From: uerceg Date: Mon, 23 Sep 2024 09:00:30 +0200 Subject: [PATCH 1/6] build: update native ios and android sdks to 5.0.1 --- android/build.gradle | 2 +- react-native-adjust.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 192637eb..a17573c8 100755 --- a/android/build.gradle +++ b/android/build.gradle @@ -27,5 +27,5 @@ android { dependencies { implementation 'com.facebook.react:react-native:+' - implementation 'com.adjust.sdk:adjust-android:5.0.0' + implementation 'com.adjust.sdk:adjust-android:5.0.1' } diff --git a/react-native-adjust.podspec b/react-native-adjust.podspec index f019e815..82d6cba7 100644 --- a/react-native-adjust.podspec +++ b/react-native-adjust.podspec @@ -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.0' + s.dependency 'Adjust', '5.0.1' s.dependency 'React-Core' end From d17fe6800d5466ba205674bceda34e8617fa52c3 Mon Sep 17 00:00:00 2001 From: uerceg Date: Mon, 23 Sep 2024 09:01:22 +0200 Subject: [PATCH 2/6] feat: update version number to 5.0.2 --- VERSION | 2 +- index.js | 4 ++-- package.json | 2 +- plugins/oaid/package.json | 2 +- test/lib/package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 6b244dcd..a1ef0cae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.1 +5.0.2 diff --git a/index.js b/index.js index 4d734c60..84f0e83c 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,7 @@ Adjust.getAmazonAdId = function(callback) { }; Adjust.getSdkVersion = function(callback) { - module_adjust.getSdkVersion("react-native5.0.1", callback); + module_adjust.getSdkVersion("react-native5.0.2", callback); }; Adjust.requestAppTrackingAuthorization = function(callback) { @@ -294,7 +294,7 @@ Adjust.onPause = function(testParam) { // AdjustConfig var AdjustConfig = function(appToken, environment) { - this.sdkPrefix = "react-native5.0.1"; + this.sdkPrefix = "react-native5.0.2"; this.appToken = appToken; this.environment = environment; this.logLevel = null; diff --git a/package.json b/package.json index b0cfd447..d53ba3d5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-adjust", "description": "Adjust React Native SDK", - "version": "5.0.1", + "version": "5.0.2", "main": "index.js", "author": "Adjust", "license": "MIT", diff --git a/plugins/oaid/package.json b/plugins/oaid/package.json index 63d680a7..2a1c2945 100644 --- a/plugins/oaid/package.json +++ b/plugins/oaid/package.json @@ -1,7 +1,7 @@ { "name": "react-native-adjust-oaid", "description": "Adjust React Native OAID plugin", - "version": "5.0.1", + "version": "5.0.2", "main": "index.js", "author": "Adjust", "license": "MIT", diff --git a/test/lib/package.json b/test/lib/package.json index 306987a4..165e6952 100644 --- a/test/lib/package.json +++ b/test/lib/package.json @@ -1,7 +1,7 @@ { "name": "react-native-adjust-test", "description": "Adjust Test Plugin For React Native SDK", - "version": "5.0.1", + "version": "5.0.2", "author": "Adjust", "license": "MIT", "keywords": [ From 99af1695a883ec1cb43a1fb38c2436d2be22d424 Mon Sep 17 00:00:00 2001 From: uerceg Date: Mon, 23 Sep 2024 09:01:48 +0200 Subject: [PATCH 3/6] docs: update changelog --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2076d2f4..77084483 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### Version 5.0.2 (23rd September 2024) +#### Fixed +- Fixed `Adjust.modulemap not found` error in certain CocoaPods integration cases. +- Fixed occasional ANRs while reading install referrer from Shared Preferences during the SDK initialization. + +#### Native SDKs +- [iOS@v5.0.1][ios_sdk_v5.0.1] +- [Android@v5.0.1][android_sdk_v5.0.1] + +--- + ### 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). @@ -687,6 +698,7 @@ In case you were using beta version of the SDK v5, please switch to the official [ios_sdk_v4.38.0]: https://github.com/adjust/ios_sdk/tree/v4.38.0 [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 [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 @@ -725,3 +737,4 @@ In case you were using beta version of the SDK v5, please switch to the official [android_sdk_v4.38.2]: https://github.com/adjust/android_sdk/tree/v4.38.2 [android_sdk_v4.38.3]: https://github.com/adjust/android_sdk/tree/v4.38.3 [android_sdk_v5.0.0]: https://github.com/adjust/android_sdk/tree/v5.0.0 +[android_sdk_v5.0.1]: https://github.com/adjust/android_sdk/tree/v5.0.1 From 0d646b49bb966149ffc360170709fb9868e89141 Mon Sep 17 00:00:00 2001 From: uerceg Date: Mon, 23 Sep 2024 09:02:20 +0200 Subject: [PATCH 4/6] refac: switch to fixed native suppress log level enum value --- android/src/main/java/com/adjust/sdk/Adjust.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/adjust/sdk/Adjust.java b/android/src/main/java/com/adjust/sdk/Adjust.java index 5cbade0f..9fb2bdb4 100755 --- a/android/src/main/java/com/adjust/sdk/Adjust.java +++ b/android/src/main/java/com/adjust/sdk/Adjust.java @@ -160,7 +160,7 @@ public void initSdk(final ReadableMap mapConfig) { } else if (logLevel.equals("ASSERT")) { adjustConfig.setLogLevel(LogLevel.ASSERT); } else if (logLevel.equals("SUPPRESS")) { - adjustConfig.setLogLevel(LogLevel.SUPRESS); + adjustConfig.setLogLevel(LogLevel.SUPPRESS); } else { adjustConfig.setLogLevel(LogLevel.INFO); } From 5abd98c89424eaa8d943d79a9604c945bf8914b4 Mon Sep 17 00:00:00 2001 From: uerceg Date: Mon, 23 Sep 2024 10:32:32 +0200 Subject: [PATCH 5/6] build: update native submodules --- ext/android/sdk | 2 +- ext/ios/sdk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/android/sdk b/ext/android/sdk index 2fa1a0a4..c0f78d2e 160000 --- a/ext/android/sdk +++ b/ext/android/sdk @@ -1 +1 @@ -Subproject commit 2fa1a0a4fcaf6adbe045faa9822f0bb46bbf911e +Subproject commit c0f78d2ec77dfacbf53870883b9d5b0e6ca8c731 diff --git a/ext/ios/sdk b/ext/ios/sdk index 81037ba7..c4197183 160000 --- a/ext/ios/sdk +++ b/ext/ios/sdk @@ -1 +1 @@ -Subproject commit 81037ba7ccb3c56494ab19295ac5ca747c234e02 +Subproject commit c419718364e9f360c602a17a64b91c591f33fe6a From 0f61c5e145f6ac33bfbeded097853f17fb1473ae Mon Sep 17 00:00:00 2001 From: uerceg Date: Mon, 23 Sep 2024 10:50:10 +0200 Subject: [PATCH 6/6] test: run tests --- test/app/ios/Podfile.lock | 22 +++++++++--------- test/lib/android/libs/adjust-test-library.jar | Bin 25022 -> 25022 bytes 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/app/ios/Podfile.lock b/test/app/ios/Podfile.lock index 604db646..4c97f005 100644 --- a/test/app/ios/Podfile.lock +++ b/test/app/ios/Podfile.lock @@ -1,9 +1,9 @@ PODS: - - Adjust (5.0.0): - - Adjust/Adjust (= 5.0.0) - - Adjust/Adjust (5.0.0): + - Adjust (5.0.1): + - Adjust/Adjust (= 5.0.1) + - Adjust/Adjust (5.0.1): - AdjustSignature (~> 3.18) - - AdjustSignature (3.20.1) + - AdjustSignature (3.20.2) - boost (1.84.0) - DoubleConversion (1.1.6) - FBLazyVector (0.75.2) @@ -1242,10 +1242,10 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - Yoga - - react-native-adjust (5.0.0): - - Adjust (= 5.0.0) + - react-native-adjust (5.0.2): + - Adjust (= 5.0.1) - React-Core - - react-native-adjust-test (5.0.0): + - react-native-adjust-test (5.0.2): - React - React-nativeconfig (0.75.2) - React-NativeModulesApple (0.75.2): @@ -1716,8 +1716,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - Adjust: a1421f630c529258d7e170a8a76647f9721f7fbd - AdjustSignature: cd0263e5672da024e8671888ea164c9c7496fe3b + Adjust: f27daaa40d0df5550b89dd428cd8545d812e1f6d + AdjustSignature: f42d8c64cda8361ff5b5a31e4536d82076be4306 boost: 4cb898d0bf20404aab1850c656dcea009429d6c1 DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5 FBLazyVector: 38bb611218305c3bc61803e287b8a81c6f63b619 @@ -1753,8 +1753,8 @@ SPEC CHECKSUMS: React-logger: 8db32983d75dc2ad54f278f344ccb9b256e694fc React-Mapbuffer: 1c08607305558666fd16678b85ef135e455d5c96 React-microtasksnativemodule: 87b8de96f937faefece8afd2cb3a518321b2ef99 - react-native-adjust: 10a4f635c00e69a34105c2cbaa8d8b7558a187ce - react-native-adjust-test: 89393be526433fc275e03f1ccf32caed936b428f + react-native-adjust: 6a73063a62fb0f21dd2220f15b315c1e323268b0 + react-native-adjust-test: 147ae467b75a34973d4024ff00c476cd819dd4a0 React-nativeconfig: 57781b79e11d5af7573e6f77cbf1143b71802a6d React-NativeModulesApple: 7ff2e2cfb2e5fa5bdedcecf28ce37e696c6ef1e1 React-perflogger: 8a360ccf603de6ddbe9ff8f54383146d26e6c936 diff --git a/test/lib/android/libs/adjust-test-library.jar b/test/lib/android/libs/adjust-test-library.jar index 346145c69514a899aee724a56534f1a68700c8a0..a80fac7b860c1a3dab2bdfb549887e01a8b3b56f 100644 GIT binary patch delta 526 zcmdmYm~r1>M&1B#W)=|!1`ZAe^$_!kylTuK%FK&d4M;UBf_cj|1c8E)3_!pHB7i_( zvLLgtEHeW_H&A^fm#~xM5k>}v%RpuFAQh8eMe%PoVm!wPGHx?7b0QO%kPaNh|*bGbT%_ z-UAE#Qau8ZIjG(bu_#z;EyOrx-P>R#4|N44K#a*>T@Anj8g9N|6`LzOGFZSOkA1E} zM0We{We2OR4mSnMYz}`6v2bRj30UGnq&>*hlZB%6!F-n}Gca8nWepbJ9R&`@$sEys zV16W!23fu;Isi=njrInMd&fY;=fnhp`5$6@!1DI7zF@jPHUdn)iVXqNj&Z(Vbra*< u!2DZrpM&1B#W)=|!1`ZAe>k74rylTuK%FGK)H7kOt}v%RpuFAQh8eMe%PoVm!wPGG{Y0b0QO%kaiL(^C?2A(G2RZ$ eKNKGfrX>;}=H?_o?Ae