diff --git a/package.json b/package.json index 48e55dac77b6..76e920261e28 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "react-native-keychain": "8.1.2", "react-native-linear-gradient": "^2.8.0", "react-native-lottie-splash-screen": "^1.0.1", - "react-native-mail": "git+https://github.com/status-im/react-native-mail.git#refs/tags/v6.1.2-status", + "react-native-mail": "6.1.1", "react-native-navigation": "7.38.3", "react-native-orientation-locker": "^1.5.0", "react-native-permissions": "3.8.0", diff --git a/patches/react-native-mail-build.gradle.patch b/patches/react-native-mail-build.gradle.patch new file mode 100644 index 000000000000..6c63d061294d --- /dev/null +++ b/patches/react-native-mail-build.gradle.patch @@ -0,0 +1,15 @@ +--- /tmp/tmp-status-mobile-6e854428f/tmp.PSruc8WtHx/build.gradle 2024-04-17 11:08:46.857319000 +0200 ++++ ./node_modules/react-native-mail/android/build.gradle 2024-04-17 11:09:22.935436792 +0200 +@@ -1,7 +1,11 @@ + apply plugin: 'com.android.library' + ++def safeExtGet(prop, fallback) { ++ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback ++} ++ + android { +- compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 23 ++ compileSdkVersion safeExtGet('compileSdkVersion', 30) + buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : "23.0.1" + + defaultConfig { diff --git a/status-go-version.json b/status-go-version.json index 645a29d6128b..6eda42f41977 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.179.4", - "commit-sha1": "d246699c5e1c19b3f905a6c10c3526d2004de273", - "src-sha256": "0gnnx70g8g8yhn29qj58if91fflgl0q2ry0wipzvvpdxd07hpxin" + "version": "v0.179.5", + "commit-sha1": "a39c01d7fe1ac60dc2a34bb16d550f09c64d3a3d", + "src-sha256": "0g53nqkhpyzy9iwz9lfh2qq8s5wrfa69lic29ps0qb92h0ac428l" } diff --git a/yarn.lock b/yarn.lock index 6429e25e33ed..75d251e77cb0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7934,9 +7934,10 @@ react-native-lottie-splash-screen@^1.0.1: lottie-ios "3.2.3" lottie-react-native "^5.1.3" -"react-native-mail@git+https://github.com/status-im/react-native-mail.git#refs/tags/v6.1.2-status": +react-native-mail@6.1.1: version "6.1.1" - resolved "git+https://github.com/status-im/react-native-mail.git#6d28780dfe156dfed87d8a4ceba520cc7db019c5" + resolved "https://registry.yarnpkg.com/react-native-mail/-/react-native-mail-6.1.1.tgz#f1b1f8034c84d2510a93e4a2a795f0db5a13595e" + integrity sha512-pTs180wwyh7hN/iyTC9SfOX579U4YhDlHOLxi47IGvhPJENqO/QFdBq+wWKxyhNqdQuVSy+LoeIxLreWnIeYmg== react-native-navigation@7.38.3: version "7.38.3"