From b2059060fc601945662bc92040014b296c70540c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 30 Oct 2024 12:37:12 +0100 Subject: [PATCH] fix(rn,android) fix build for RN 0.75 It requires Kotlin 1.9. Some modules needed to be updated in order to gain that compatibility. --- android/build.gradle | 2 +- ios/Podfile.lock | 31 ++++++++++++++++++++++++------ package-lock.json | 45 +++++++++++++++++++++----------------------- package.json | 6 +++--- 4 files changed, 50 insertions(+), 34 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index a463f5a5c39e..af5306755742 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,7 +17,7 @@ buildscript { } ext { - kotlinVersion = "1.7.0" + kotlinVersion = "1.9.0" buildToolsVersion = "33.0.2" compileSdkVersion = 34 minSdkVersion = 24 diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 4a8493436b57..60647e5f9b13 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1375,11 +1375,30 @@ PODS: - React-Core - react-native-orientation-locker (1.6.0): - React-Core - - react-native-pager-view (6.2.0): + - react-native-pager-view (6.4.1): + - DoubleConversion + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga - react-native-performance (5.0.0): - React-Core - - react-native-safe-area-context (4.10.8): + - react-native-safe-area-context (4.12.0): - React-Core - react-native-slider (4.4.3): - React-Core @@ -1692,7 +1711,7 @@ PODS: - RNGoogleSignin (10.1.0): - GoogleSignIn (~> 7.0) - React-Core - - RNScreens (3.32.0): + - RNScreens (3.35.0): - DoubleConversion - glog - RCT-Folly (= 2024.01.01.00) @@ -2089,9 +2108,9 @@ SPEC CHECKSUMS: react-native-keep-awake: afad8a51dfef9fe9655a6344771be32c8596d774 react-native-netinfo: 3aa5637c18834966e0c932de8ae1ae56fea20a97 react-native-orientation-locker: 4409c5b12b65f942e75449872b4f078b6f27af81 - react-native-pager-view: 0ccb8bf60e2ebd38b1f3669fa3650ecce81db2df + react-native-pager-view: 707f0384a5d5d1fe103c44789ea48187ffdae5ce react-native-performance: 47ac22ebf2aa24f324a96a5825581f6ce18c09e8 - react-native-safe-area-context: b7daa1a8df36095a032dff095a1ea8963cb48371 + react-native-safe-area-context: 142fade490cbebbe428640b8cbdb09daf17e8191 react-native-slider: 1cdd6ba29675df21f30544253bf7351d3c2d68c4 react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457 react-native-video: 472b7c366eaaaa0207e546d9a50410df89790bcf @@ -2129,7 +2148,7 @@ SPEC CHECKSUMS: RNDeviceInfo: 02ea8b23e2280fa18e00a06d7e62804d74028579 RNGestureHandler: 6ccbf156a2ba9cb7300f3fe3b387d27c30b18794 RNGoogleSignin: a6a612cce56a45ab701c5c5c6e36f5390522d100 - RNScreens: c288139142de77071d651f826d66b181dbef9674 + RNScreens: c992c58460a05b17de3eb5e4767a63a2568bf64d RNSound: 6c156f925295bdc83e8e422e7d8b38d33bc71852 RNSVG: ed492aaf3af9ca01bc945f7a149d76d62e73ec82 RNWatch: fd30ca40a5b5ef58dcbc195638e68219bc455236 diff --git a/package-lock.json b/package-lock.json index 860694e22eb1..23c6ae0926b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -87,11 +87,11 @@ "react-native-immersive-mode": "2.0.2", "react-native-keep-awake": "4.0.0", "react-native-orientation-locker": "1.6.0", - "react-native-pager-view": "6.2.0", + "react-native-pager-view": "6.4.1", "react-native-paper": "5.10.3", "react-native-performance": "5.0.0", - "react-native-safe-area-context": "4.10.8", - "react-native-screens": "3.32.0", + "react-native-safe-area-context": "4.12.0", + "react-native-screens": "3.35.0", "react-native-sound": "0.11.2", "react-native-splash-screen": "3.3.0", "react-native-svg": "13.13.0", @@ -15309,10 +15309,9 @@ } }, "node_modules/react-native-pager-view": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.2.0.tgz", - "integrity": "sha512-pf9OnL/Tkr+5s4Gjmsn7xh91PtJLDa6qxYa/bmtUhd/+s4cQdWQ8DIFoOFghwZIHHHwVdWtoXkp6HtpjN+r20g==", - "license": "MIT", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.4.1.tgz", + "integrity": "sha512-HnDxXTRHnR6WJ/vnOitv0C32KG9MJjxLnxswuQlBJmQ7RxF2GWOHSPIRAdZ9fLxdLstV38z9Oz1C95+t+yXkcg==", "peerDependencies": { "react": "*", "react-native": "*" @@ -15343,20 +15342,18 @@ } }, "node_modules/react-native-safe-area-context": { - "version": "4.10.8", - "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.10.8.tgz", - "integrity": "sha512-Jx1lovhvIdYygg0UsMCBUJN0Wvj9GlA5bbcBLzjZf93uJpNHzaiHC4hR280+sNVK1+/pMHEyEkXVHDZE5JWn0w==", - "license": "MIT", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.12.0.tgz", + "integrity": "sha512-ukk5PxcF4p3yu6qMZcmeiZgowhb5AsKRnil54YFUUAXVIS7PJcMHGGC+q44fCiBg44/1AJk5njGMez1m9H0BVQ==", "peerDependencies": { "react": "*", "react-native": "*" } }, "node_modules/react-native-screens": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.32.0.tgz", - "integrity": "sha512-wybqZAHX7v8ipOXhh90CqGLkBHw5JYqKNRBX7R/b0c2WQisTOgu0M0yGwBMM6LyXRBT+4k3NTGHdDbpJVpq0yQ==", - "license": "MIT", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.35.0.tgz", + "integrity": "sha512-rmkqb/M/SQIrXwygk6pXcOhgHltYAhidf1WceO7ujAxkr6XtwmgFyd1HIztsrJa568GrAuwPdQ11I7TpVk+XsA==", "dependencies": { "react-freeze": "^1.0.0", "warn-once": "^0.1.0" @@ -30007,9 +30004,9 @@ "integrity": "sha512-D3IOtAcaAi6S2w0Y1EUnr16I47isosQbE7F67fAu9A+gE67NkyKaJ9HL5EsZ+Uc7+7m+NsuBjx3dxuANNy8rVA==" }, "react-native-pager-view": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.2.0.tgz", - "integrity": "sha512-pf9OnL/Tkr+5s4Gjmsn7xh91PtJLDa6qxYa/bmtUhd/+s4cQdWQ8DIFoOFghwZIHHHwVdWtoXkp6HtpjN+r20g==" + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.4.1.tgz", + "integrity": "sha512-HnDxXTRHnR6WJ/vnOitv0C32KG9MJjxLnxswuQlBJmQ7RxF2GWOHSPIRAdZ9fLxdLstV38z9Oz1C95+t+yXkcg==" }, "react-native-paper": { "version": "5.10.3", @@ -30027,14 +30024,14 @@ "integrity": "sha512-nZJdliNFaA7vmu9PbYGSlwguRQVsuWX8CtchUUxZvjd/i9B3OYYveajIcuic3oQjWyTydLeDlhXRwpOUlj2Npw==" }, "react-native-safe-area-context": { - "version": "4.10.8", - "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.10.8.tgz", - "integrity": "sha512-Jx1lovhvIdYygg0UsMCBUJN0Wvj9GlA5bbcBLzjZf93uJpNHzaiHC4hR280+sNVK1+/pMHEyEkXVHDZE5JWn0w==" + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-4.12.0.tgz", + "integrity": "sha512-ukk5PxcF4p3yu6qMZcmeiZgowhb5AsKRnil54YFUUAXVIS7PJcMHGGC+q44fCiBg44/1AJk5njGMez1m9H0BVQ==" }, "react-native-screens": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.32.0.tgz", - "integrity": "sha512-wybqZAHX7v8ipOXhh90CqGLkBHw5JYqKNRBX7R/b0c2WQisTOgu0M0yGwBMM6LyXRBT+4k3NTGHdDbpJVpq0yQ==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-3.35.0.tgz", + "integrity": "sha512-rmkqb/M/SQIrXwygk6pXcOhgHltYAhidf1WceO7ujAxkr6XtwmgFyd1HIztsrJa568GrAuwPdQ11I7TpVk+XsA==", "requires": { "react-freeze": "^1.0.0", "warn-once": "^0.1.0" diff --git a/package.json b/package.json index ef6388469955..52e4886f2ef6 100644 --- a/package.json +++ b/package.json @@ -93,11 +93,11 @@ "react-native-immersive-mode": "2.0.2", "react-native-keep-awake": "4.0.0", "react-native-orientation-locker": "1.6.0", - "react-native-pager-view": "6.2.0", + "react-native-pager-view": "6.4.1", "react-native-paper": "5.10.3", "react-native-performance": "5.0.0", - "react-native-safe-area-context": "4.10.8", - "react-native-screens": "3.32.0", + "react-native-safe-area-context": "4.12.0", + "react-native-screens": "3.35.0", "react-native-sound": "0.11.2", "react-native-splash-screen": "3.3.0", "react-native-svg": "13.13.0",