From 4531fb46552a7013e9c99f410d63cb3085fa0113 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Tue, 16 Aug 2022 00:28:17 +0200 Subject: [PATCH 1/2] Fix building apk error --- patches/react-native-share-menu+6.0.0.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/patches/react-native-share-menu+6.0.0.patch b/patches/react-native-share-menu+6.0.0.patch index 9886077b..72b155b7 100644 --- a/patches/react-native-share-menu+6.0.0.patch +++ b/patches/react-native-share-menu+6.0.0.patch @@ -1,3 +1,24 @@ +diff --git a/node_modules/react-native-share-menu/android/build.gradle b/node_modules/react-native-share-menu/android/build.gradle +index 9557fdb..ebdeb6f 100644 +--- a/node_modules/react-native-share-menu/android/build.gradle ++++ b/node_modules/react-native-share-menu/android/build.gradle +@@ -1,12 +1,12 @@ + apply plugin: 'com.android.library' + + android { +- compileSdkVersion 29 +- buildToolsVersion "29.0.2" ++ compileSdkVersion 31 ++ buildToolsVersion "31.0.0" + + defaultConfig { +- minSdkVersion 16 +- targetSdkVersion 29 ++ minSdkVersion 21 ++ targetSdkVersion 31 + versionCode 1 + versionName "1.0" + ndk { diff --git a/node_modules/react-native-share-menu/ios/ReactShareViewController.swift b/node_modules/react-native-share-menu/ios/ReactShareViewController.swift index f42bce6..ee36062 100644 --- a/node_modules/react-native-share-menu/ios/ReactShareViewController.swift From d0bdb08bbebb36e636c6aa907f2c9cfa627e2724 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Tue, 16 Aug 2022 00:28:45 +0200 Subject: [PATCH 2/2] Update Gemfile.lock --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index e979f14f..cc816cde 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,7 +156,7 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) fastlane-plugin-json (1.1.0) - fastlane-plugin-sentry (1.12.0) + fastlane-plugin-sentry (1.12.2) fastlane-plugin-versioning_android (0.1.0) fastlane-plugin-yarn (1.2) ffi (1.15.5)