From 1d1e3ac9af960f38afdf8a1772f18f8c2ff2bbe8 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:03:31 +0100 Subject: [PATCH 1/6] Squashed commit of the following: commit 29c04db30ef8ada8879239d63f580c1829d6c7cd Author: Zhiyuan Zheng Date: Sun Feb 6 22:02:09 2022 +0100 Patch 3.1.1 commit d3cd4c42ae1d6e01f78806ffaa8560ddbfadedfa Author: Zhiyuan Zheng Date: Sun Feb 6 18:58:27 2022 +0100 Try to capture more info to debug --- package.json | 4 ++-- src/screens/Tabs/Shared/Toot.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fdb60233..f3164fac 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "versions": { "native": "220204", "major": 3, - "minor": 3, - "patch": 0, + "minor": 1, + "patch": 1, "expo": "44.0.0" }, "description": "tooot app for Mastodon", diff --git a/src/screens/Tabs/Shared/Toot.tsx b/src/screens/Tabs/Shared/Toot.tsx index e4f3408b..990ddb96 100644 --- a/src/screens/Tabs/Shared/Toot.tsx +++ b/src/screens/Tabs/Shared/Toot.tsx @@ -53,7 +53,7 @@ const TabSharedToot: React.FC> = ({ }, 500) } catch (err) { if (Math.random() < 0.1) { - Sentry.Native.setExtras({ + Sentry.Native.setContext('Scroll to Index', { type: 'original', index: pointer, itemsLength: flattenData.length, @@ -84,7 +84,7 @@ const TabSharedToot: React.FC> = ({ ) } catch (err) { if (Math.random() < 0.1) { - Sentry.Native.setExtras({ + Sentry.Native.setContext('Scroll to Index', { type: 'onScrollToIndexFailed', index: error.index, itemsLength From 26e5f592e1113d693ddcee054608e81658a77a17 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:04:57 +0100 Subject: [PATCH 2/6] Squashed commit of the following: commit f605f3cbcc3ffa6e7c4f1f2e2566875d92f4c3f5 Author: Zhiyuan Zheng Date: Sun Feb 6 22:04:38 2022 +0100 Patch 3.2.3 commit 23251703fd7fbeeae7f841e88b32c43ad2bad84b Author: Zhiyuan Zheng Date: Sun Feb 6 18:58:27 2022 +0100 Try to capture more info to debug --- package.json | 87 ++++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index f3164fac..19c4c993 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "tooot", "versions": { - "native": "220204", + "native": "220102", "major": 3, - "minor": 1, - "patch": 1, + "minor": 2, + "patch": 3, "expo": "44.0.0" }, "description": "tooot app for Mastodon", @@ -17,51 +17,50 @@ "scripts": { "start": "react-native start", "android": "react-native run-android", - "iphone": "react-native run-ios", - "ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'", + "ios": "react-native run-ios", "app:build": "bundle exec fastlane build", "release": "scripts/release.sh", "clean": "react-native-clean-project", "postinstall": "patch-package" }, "dependencies": { - "@expo/react-native-action-sheet": "3.13.0", + "@expo/react-native-action-sheet": "3.12.0", "@neverdull-agency/expo-unlimited-secure-store": "1.0.10", - "@react-native-async-storage/async-storage": "1.15.17", + "@react-native-async-storage/async-storage": "1.15.14", "@react-native-community/blur": "3.6.0", "@react-native-community/cameraroll": "4.1.2", - "@react-native-community/netinfo": "7.1.9", + "@react-native-community/netinfo": "7.1.7", "@react-native-community/segmented-control": "2.2.2", - "@react-navigation/bottom-tabs": "6.2.0", - "@react-navigation/native": "6.0.8", - "@react-navigation/native-stack": "6.4.1", - "@react-navigation/stack": "6.1.1", - "@reduxjs/toolkit": "1.7.2", - "@sentry/react-native": "3.2.13", - "@sharcoux/slider": "5.6.4", + "@react-navigation/bottom-tabs": "6.0.9", + "@react-navigation/native": "6.0.6", + "@react-navigation/native-stack": "6.2.5", + "@react-navigation/stack": "6.0.11", + "@reduxjs/toolkit": "1.7.1", + "@sentry/react-native": "3.2.3", + "@sharcoux/slider": "5.6.1", "axios": "0.24.0", - "expo": "44.0.6", + "expo": "44.0.4", "expo-auth-session": "3.5.0", - "expo-av": "10.2.1", - "expo-constants": "^13.0.2", - "expo-crypto": "10.1.2", - "expo-device": "4.1.1", + "expo-av": "10.2.0", + "expo-constants": "^13.0.0", + "expo-crypto": "10.1.1", + "expo-device": "4.1.0", "expo-file-system": "13.2.0", - "expo-firebase-analytics": "6.0.1", - "expo-haptics": "11.1.1", - "expo-image-manipulator": "10.2.1", - "expo-image-picker": "12.0.2", + "expo-firebase-analytics": "6.0.0", + "expo-haptics": "11.1.0", + "expo-image-manipulator": "10.2.0", + "expo-image-picker": "12.0.1", "expo-linking": "3.0.0", - "expo-localization": "12.0.1", - "expo-notifications": "0.14.1", - "expo-random": "12.1.2", - "expo-screen-capture": "4.1.1", - "expo-secure-store": "11.1.1", - "expo-splash-screen": "0.14.2", - "expo-store-review": "5.1.1", + "expo-localization": "12.0.0", + "expo-notifications": "0.14.0", + "expo-random": "12.1.1", + "expo-screen-capture": "4.1.0", + "expo-secure-store": "11.1.0", + "expo-splash-screen": "0.14.1", + "expo-store-review": "5.1.0", "expo-updates": "0.11.3", "expo-video-thumbnails": "6.2.0", - "expo-web-browser": "10.1.1", + "expo-web-browser": "10.1.0", "i18next": "20.6.1", "li": "1.3.0", "lodash": "4.17.21", @@ -74,17 +73,17 @@ "react-native-blurhash": "1.1.8", "react-native-fast-image": "8.5.11", "react-native-feather": "1.1.2", - "react-native-flash-message": "0.2.1", - "react-native-gesture-handler": "2.2.0", + "react-native-flash-message": "0.2.0", + "react-native-gesture-handler": "2.1.0", "react-native-htmlview": "0.16.0", "react-native-pager-view": "5.4.9", "react-native-reanimated": "2.3.1", "react-native-safe-area-context": "3.3.2", - "react-native-screens": "3.10.2", + "react-native-screens": "3.10.1", "react-native-svg": "12.1.1", "react-native-swipe-list-view": "3.2.9", "react-native-tab-view": "3.1.1", - "react-query": "3.34.12", + "react-query": "3.34.7", "react-redux": "7.2.6", "react-timeago": "6.2.1", "redux-persist": "6.0.0", @@ -94,26 +93,26 @@ "valid-url": "1.0.9" }, "devDependencies": { - "@babel/core": "7.17.0", + "@babel/core": "7.16.7", "@babel/plugin-proposal-optional-chaining": "7.16.7", "@babel/preset-typescript": "7.16.7", - "@expo/config": "6.0.16", + "@expo/config": "6.0.15", "@types/lodash": "4.14.178", - "@types/react": "17.0.39", + "@types/react": "17.0.38", "@types/react-dom": "17.0.11", - "@types/react-native": "0.66.15", + "@types/react-native": "0.66.11", "@types/react-native-base64": "^0.2.0", - "@types/react-redux": "7.1.22", + "@types/react-redux": "7.1.21", "@types/react-timeago": "4.1.3", "@types/valid-url": "1.0.3", "@welldone-software/why-did-you-render": "6.2.3", "babel-plugin-module-resolver": "4.1.0", "babel-plugin-transform-remove-console": "6.9.4", "chalk": "4.1.2", - "dotenv": "16.0.0", + "dotenv": "10.0.0", "patch-package": "6.4.7", "postinstall-postinstall": "2.1.0", - "react-native-clean-project": "4.0.0", - "typescript": "4.5.5" + "react-native-clean-project": "3.6.7", + "typescript": "4.5.4" } } From 10994988b26fce4bdc0bbe109be44ea2879bc11a Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:06:21 +0100 Subject: [PATCH 3/6] Squashed commit of the following: commit 3c962f99d64e680466d5b1bfcc1a583d6745ac6c Author: Zhiyuan Zheng Date: Sun Feb 6 22:06:05 2022 +0100 Patch 3.3.1 commit 7d7348179f79cf365b49aee98a5ed18878b581d5 Author: Zhiyuan Zheng Date: Sun Feb 6 18:58:27 2022 +0100 Try to capture more info to debug --- package.json | 87 ++++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 19c4c993..b964dcac 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "tooot", "versions": { - "native": "220102", + "native": "220204", "major": 3, - "minor": 2, - "patch": 3, + "minor": 3, + "patch": 1, "expo": "44.0.0" }, "description": "tooot app for Mastodon", @@ -17,50 +17,51 @@ "scripts": { "start": "react-native start", "android": "react-native run-android", - "ios": "react-native run-ios", + "iphone": "react-native run-ios", + "ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'", "app:build": "bundle exec fastlane build", "release": "scripts/release.sh", "clean": "react-native-clean-project", "postinstall": "patch-package" }, "dependencies": { - "@expo/react-native-action-sheet": "3.12.0", + "@expo/react-native-action-sheet": "3.13.0", "@neverdull-agency/expo-unlimited-secure-store": "1.0.10", - "@react-native-async-storage/async-storage": "1.15.14", + "@react-native-async-storage/async-storage": "1.15.17", "@react-native-community/blur": "3.6.0", "@react-native-community/cameraroll": "4.1.2", - "@react-native-community/netinfo": "7.1.7", + "@react-native-community/netinfo": "7.1.9", "@react-native-community/segmented-control": "2.2.2", - "@react-navigation/bottom-tabs": "6.0.9", - "@react-navigation/native": "6.0.6", - "@react-navigation/native-stack": "6.2.5", - "@react-navigation/stack": "6.0.11", - "@reduxjs/toolkit": "1.7.1", - "@sentry/react-native": "3.2.3", - "@sharcoux/slider": "5.6.1", + "@react-navigation/bottom-tabs": "6.2.0", + "@react-navigation/native": "6.0.8", + "@react-navigation/native-stack": "6.4.1", + "@react-navigation/stack": "6.1.1", + "@reduxjs/toolkit": "1.7.2", + "@sentry/react-native": "3.2.13", + "@sharcoux/slider": "5.6.4", "axios": "0.24.0", - "expo": "44.0.4", + "expo": "44.0.6", "expo-auth-session": "3.5.0", - "expo-av": "10.2.0", - "expo-constants": "^13.0.0", - "expo-crypto": "10.1.1", - "expo-device": "4.1.0", + "expo-av": "10.2.1", + "expo-constants": "^13.0.2", + "expo-crypto": "10.1.2", + "expo-device": "4.1.1", "expo-file-system": "13.2.0", - "expo-firebase-analytics": "6.0.0", - "expo-haptics": "11.1.0", - "expo-image-manipulator": "10.2.0", - "expo-image-picker": "12.0.1", + "expo-firebase-analytics": "6.0.1", + "expo-haptics": "11.1.1", + "expo-image-manipulator": "10.2.1", + "expo-image-picker": "12.0.2", "expo-linking": "3.0.0", - "expo-localization": "12.0.0", - "expo-notifications": "0.14.0", - "expo-random": "12.1.1", - "expo-screen-capture": "4.1.0", - "expo-secure-store": "11.1.0", - "expo-splash-screen": "0.14.1", - "expo-store-review": "5.1.0", + "expo-localization": "12.0.1", + "expo-notifications": "0.14.1", + "expo-random": "12.1.2", + "expo-screen-capture": "4.1.1", + "expo-secure-store": "11.1.1", + "expo-splash-screen": "0.14.2", + "expo-store-review": "5.1.1", "expo-updates": "0.11.3", "expo-video-thumbnails": "6.2.0", - "expo-web-browser": "10.1.0", + "expo-web-browser": "10.1.1", "i18next": "20.6.1", "li": "1.3.0", "lodash": "4.17.21", @@ -73,17 +74,17 @@ "react-native-blurhash": "1.1.8", "react-native-fast-image": "8.5.11", "react-native-feather": "1.1.2", - "react-native-flash-message": "0.2.0", - "react-native-gesture-handler": "2.1.0", + "react-native-flash-message": "0.2.1", + "react-native-gesture-handler": "2.2.0", "react-native-htmlview": "0.16.0", "react-native-pager-view": "5.4.9", "react-native-reanimated": "2.3.1", "react-native-safe-area-context": "3.3.2", - "react-native-screens": "3.10.1", + "react-native-screens": "3.10.2", "react-native-svg": "12.1.1", "react-native-swipe-list-view": "3.2.9", "react-native-tab-view": "3.1.1", - "react-query": "3.34.7", + "react-query": "3.34.12", "react-redux": "7.2.6", "react-timeago": "6.2.1", "redux-persist": "6.0.0", @@ -93,26 +94,26 @@ "valid-url": "1.0.9" }, "devDependencies": { - "@babel/core": "7.16.7", + "@babel/core": "7.17.0", "@babel/plugin-proposal-optional-chaining": "7.16.7", "@babel/preset-typescript": "7.16.7", - "@expo/config": "6.0.15", + "@expo/config": "6.0.16", "@types/lodash": "4.14.178", - "@types/react": "17.0.38", + "@types/react": "17.0.39", "@types/react-dom": "17.0.11", - "@types/react-native": "0.66.11", + "@types/react-native": "0.66.15", "@types/react-native-base64": "^0.2.0", - "@types/react-redux": "7.1.21", + "@types/react-redux": "7.1.22", "@types/react-timeago": "4.1.3", "@types/valid-url": "1.0.3", "@welldone-software/why-did-you-render": "6.2.3", "babel-plugin-module-resolver": "4.1.0", "babel-plugin-transform-remove-console": "6.9.4", "chalk": "4.1.2", - "dotenv": "10.0.0", + "dotenv": "16.0.0", "patch-package": "6.4.7", "postinstall-postinstall": "2.1.0", - "react-native-clean-project": "3.6.7", - "typescript": "4.5.4" + "react-native-clean-project": "4.0.0", + "typescript": "4.5.5" } } From f1e7e05a1d298fd2c6dcbd6a1142c1841a022cad Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:53:00 +0100 Subject: [PATCH 4/6] Squashed commit of the following: commit af3560afebf5f4482e037c1f7c46ca16bd1975a2 Author: Zhiyuan Zheng Date: Sun Feb 6 22:52:43 2022 +0100 Hotfix v3.1.2 commit c8a16c9aa61de80b5e485cf09f5f539ab15b4449 Author: Zhiyuan Zheng Date: Sun Feb 6 18:09:11 2022 +0100 Try to fix weird crash commit c9f7cb664c8ba34acd1700e8443bddb2bb039fcd Author: Zhiyuan Zheng Date: Sun Feb 6 22:47:30 2022 +0100 Fix iOS 12 crashes on media selection https://github.com/expo/expo/issues/14903#issuecomment-966161497 --- package.json | 4 ++-- src/components/mediaSelector.ts | 8 ++++++-- src/utils/slices/instancesSlice.ts | 9 +++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index b964dcac..6a55e56f 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "versions": { "native": "220204", "major": 3, - "minor": 3, - "patch": 1, + "minor": 1, + "patch": 2, "expo": "44.0.0" }, "description": "tooot app for Mastodon", diff --git a/src/components/mediaSelector.ts b/src/components/mediaSelector.ts index 478bf3ec..4a5af36b 100644 --- a/src/components/mediaSelector.ts +++ b/src/components/mediaSelector.ts @@ -4,7 +4,7 @@ import * as ImageManipulator from 'expo-image-manipulator' import * as ImagePicker from 'expo-image-picker' import { ImageInfo } from 'expo-image-picker/build/ImagePicker.types' import i18next from 'i18next' -import { Alert, Linking } from 'react-native' +import { Alert, Linking, Platform } from 'react-native' export interface Props { mediaTypes?: ImagePicker.MediaTypeOptions @@ -91,7 +91,11 @@ const mediaSelector = async ({ } else { const result = await ImagePicker.launchImageLibraryAsync({ mediaTypes, - exif: false + exif: false, + presentationStyle: + Platform.OS === 'ios' && parseInt(Platform.Version) < 13 + ? 0 + : -2 }) if (!result.cancelled) { diff --git a/src/utils/slices/instancesSlice.ts b/src/utils/slices/instancesSlice.ts index 80d825aa..3bc3b4d9 100644 --- a/src/utils/slices/instancesSlice.ts +++ b/src/utils/slices/instancesSlice.ts @@ -169,10 +169,11 @@ const instancesSlice = createSlice({ action: PayloadAction ) => { const activeIndex = findInstanceActive(instances) - instances[activeIndex].timelinesLookback = { - ...instances[activeIndex].timelinesLookback, - ...action.payload - } + instances[activeIndex] && + (instances[activeIndex].timelinesLookback = { + ...instances[activeIndex].timelinesLookback, + ...action.payload + }) }, updateInstanceMePage: ( { instances }, From 9624a40aac6491983238e18b56207c8f2cc029e5 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:54:05 +0100 Subject: [PATCH 5/6] Squashed commit of the following: commit c8e72399884ba91003ccfa09fc8021a486d1a353 Author: Zhiyuan Zheng Date: Sun Feb 6 22:53:54 2022 +0100 Hotfix 3.2.4 commit 1799a673216523d8cbd690a188cedc998618ada9 Author: Zhiyuan Zheng Date: Sun Feb 6 18:09:11 2022 +0100 Try to fix weird crash commit bd2e2966d8b3e31d9833193a66e470520aad055a Author: Zhiyuan Zheng Date: Sun Feb 6 22:47:30 2022 +0100 Fix iOS 12 crashes on media selection https://github.com/expo/expo/issues/14903#issuecomment-966161497 --- package.json | 87 ++++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index 6a55e56f..dcdcd4c7 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "tooot", "versions": { - "native": "220204", + "native": "220102", "major": 3, - "minor": 1, - "patch": 2, + "minor": 2, + "patch": 4, "expo": "44.0.0" }, "description": "tooot app for Mastodon", @@ -17,51 +17,50 @@ "scripts": { "start": "react-native start", "android": "react-native run-android", - "iphone": "react-native run-ios", - "ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'", + "ios": "react-native run-ios", "app:build": "bundle exec fastlane build", "release": "scripts/release.sh", "clean": "react-native-clean-project", "postinstall": "patch-package" }, "dependencies": { - "@expo/react-native-action-sheet": "3.13.0", + "@expo/react-native-action-sheet": "3.12.0", "@neverdull-agency/expo-unlimited-secure-store": "1.0.10", - "@react-native-async-storage/async-storage": "1.15.17", + "@react-native-async-storage/async-storage": "1.15.14", "@react-native-community/blur": "3.6.0", "@react-native-community/cameraroll": "4.1.2", - "@react-native-community/netinfo": "7.1.9", + "@react-native-community/netinfo": "7.1.7", "@react-native-community/segmented-control": "2.2.2", - "@react-navigation/bottom-tabs": "6.2.0", - "@react-navigation/native": "6.0.8", - "@react-navigation/native-stack": "6.4.1", - "@react-navigation/stack": "6.1.1", - "@reduxjs/toolkit": "1.7.2", - "@sentry/react-native": "3.2.13", - "@sharcoux/slider": "5.6.4", + "@react-navigation/bottom-tabs": "6.0.9", + "@react-navigation/native": "6.0.6", + "@react-navigation/native-stack": "6.2.5", + "@react-navigation/stack": "6.0.11", + "@reduxjs/toolkit": "1.7.1", + "@sentry/react-native": "3.2.3", + "@sharcoux/slider": "5.6.1", "axios": "0.24.0", - "expo": "44.0.6", + "expo": "44.0.4", "expo-auth-session": "3.5.0", - "expo-av": "10.2.1", - "expo-constants": "^13.0.2", - "expo-crypto": "10.1.2", - "expo-device": "4.1.1", + "expo-av": "10.2.0", + "expo-constants": "^13.0.0", + "expo-crypto": "10.1.1", + "expo-device": "4.1.0", "expo-file-system": "13.2.0", - "expo-firebase-analytics": "6.0.1", - "expo-haptics": "11.1.1", - "expo-image-manipulator": "10.2.1", - "expo-image-picker": "12.0.2", + "expo-firebase-analytics": "6.0.0", + "expo-haptics": "11.1.0", + "expo-image-manipulator": "10.2.0", + "expo-image-picker": "12.0.1", "expo-linking": "3.0.0", - "expo-localization": "12.0.1", - "expo-notifications": "0.14.1", - "expo-random": "12.1.2", - "expo-screen-capture": "4.1.1", - "expo-secure-store": "11.1.1", - "expo-splash-screen": "0.14.2", - "expo-store-review": "5.1.1", + "expo-localization": "12.0.0", + "expo-notifications": "0.14.0", + "expo-random": "12.1.1", + "expo-screen-capture": "4.1.0", + "expo-secure-store": "11.1.0", + "expo-splash-screen": "0.14.1", + "expo-store-review": "5.1.0", "expo-updates": "0.11.3", "expo-video-thumbnails": "6.2.0", - "expo-web-browser": "10.1.1", + "expo-web-browser": "10.1.0", "i18next": "20.6.1", "li": "1.3.0", "lodash": "4.17.21", @@ -74,17 +73,17 @@ "react-native-blurhash": "1.1.8", "react-native-fast-image": "8.5.11", "react-native-feather": "1.1.2", - "react-native-flash-message": "0.2.1", - "react-native-gesture-handler": "2.2.0", + "react-native-flash-message": "0.2.0", + "react-native-gesture-handler": "2.1.0", "react-native-htmlview": "0.16.0", "react-native-pager-view": "5.4.9", "react-native-reanimated": "2.3.1", "react-native-safe-area-context": "3.3.2", - "react-native-screens": "3.10.2", + "react-native-screens": "3.10.1", "react-native-svg": "12.1.1", "react-native-swipe-list-view": "3.2.9", "react-native-tab-view": "3.1.1", - "react-query": "3.34.12", + "react-query": "3.34.7", "react-redux": "7.2.6", "react-timeago": "6.2.1", "redux-persist": "6.0.0", @@ -94,26 +93,26 @@ "valid-url": "1.0.9" }, "devDependencies": { - "@babel/core": "7.17.0", + "@babel/core": "7.16.7", "@babel/plugin-proposal-optional-chaining": "7.16.7", "@babel/preset-typescript": "7.16.7", - "@expo/config": "6.0.16", + "@expo/config": "6.0.15", "@types/lodash": "4.14.178", - "@types/react": "17.0.39", + "@types/react": "17.0.38", "@types/react-dom": "17.0.11", - "@types/react-native": "0.66.15", + "@types/react-native": "0.66.11", "@types/react-native-base64": "^0.2.0", - "@types/react-redux": "7.1.22", + "@types/react-redux": "7.1.21", "@types/react-timeago": "4.1.3", "@types/valid-url": "1.0.3", "@welldone-software/why-did-you-render": "6.2.3", "babel-plugin-module-resolver": "4.1.0", "babel-plugin-transform-remove-console": "6.9.4", "chalk": "4.1.2", - "dotenv": "16.0.0", + "dotenv": "10.0.0", "patch-package": "6.4.7", "postinstall-postinstall": "2.1.0", - "react-native-clean-project": "4.0.0", - "typescript": "4.5.5" + "react-native-clean-project": "3.6.7", + "typescript": "4.5.4" } } From e8ddeea922869052244543f4bf80566794ac9b7f Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:55:02 +0100 Subject: [PATCH 6/6] Squashed commit of the following: commit e4c87fbc5528644a20b8b8dcaeef9a729218f4ab Author: Zhiyuan Zheng Date: Sun Feb 6 22:54:53 2022 +0100 Hotfix v3.3.2 commit 16f1cd50356d8b46e24e756e730f712a8a30fba4 Author: Zhiyuan Zheng Date: Sun Feb 6 18:09:11 2022 +0100 Try to fix weird crash commit 87e8268c562faabb13558593ff0a359465faa2af Author: Zhiyuan Zheng Date: Sun Feb 6 22:47:30 2022 +0100 Fix iOS 12 crashes on media selection https://github.com/expo/expo/issues/14903#issuecomment-966161497 --- package.json | 87 ++++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index dcdcd4c7..0b5723a4 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "tooot", "versions": { - "native": "220102", + "native": "220204", "major": 3, - "minor": 2, - "patch": 4, + "minor": 3, + "patch": 2, "expo": "44.0.0" }, "description": "tooot app for Mastodon", @@ -17,50 +17,51 @@ "scripts": { "start": "react-native start", "android": "react-native run-android", - "ios": "react-native run-ios", + "iphone": "react-native run-ios", + "ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'", "app:build": "bundle exec fastlane build", "release": "scripts/release.sh", "clean": "react-native-clean-project", "postinstall": "patch-package" }, "dependencies": { - "@expo/react-native-action-sheet": "3.12.0", + "@expo/react-native-action-sheet": "3.13.0", "@neverdull-agency/expo-unlimited-secure-store": "1.0.10", - "@react-native-async-storage/async-storage": "1.15.14", + "@react-native-async-storage/async-storage": "1.15.17", "@react-native-community/blur": "3.6.0", "@react-native-community/cameraroll": "4.1.2", - "@react-native-community/netinfo": "7.1.7", + "@react-native-community/netinfo": "7.1.9", "@react-native-community/segmented-control": "2.2.2", - "@react-navigation/bottom-tabs": "6.0.9", - "@react-navigation/native": "6.0.6", - "@react-navigation/native-stack": "6.2.5", - "@react-navigation/stack": "6.0.11", - "@reduxjs/toolkit": "1.7.1", - "@sentry/react-native": "3.2.3", - "@sharcoux/slider": "5.6.1", + "@react-navigation/bottom-tabs": "6.2.0", + "@react-navigation/native": "6.0.8", + "@react-navigation/native-stack": "6.4.1", + "@react-navigation/stack": "6.1.1", + "@reduxjs/toolkit": "1.7.2", + "@sentry/react-native": "3.2.13", + "@sharcoux/slider": "5.6.4", "axios": "0.24.0", - "expo": "44.0.4", + "expo": "44.0.6", "expo-auth-session": "3.5.0", - "expo-av": "10.2.0", - "expo-constants": "^13.0.0", - "expo-crypto": "10.1.1", - "expo-device": "4.1.0", + "expo-av": "10.2.1", + "expo-constants": "^13.0.2", + "expo-crypto": "10.1.2", + "expo-device": "4.1.1", "expo-file-system": "13.2.0", - "expo-firebase-analytics": "6.0.0", - "expo-haptics": "11.1.0", - "expo-image-manipulator": "10.2.0", - "expo-image-picker": "12.0.1", + "expo-firebase-analytics": "6.0.1", + "expo-haptics": "11.1.1", + "expo-image-manipulator": "10.2.1", + "expo-image-picker": "12.0.2", "expo-linking": "3.0.0", - "expo-localization": "12.0.0", - "expo-notifications": "0.14.0", - "expo-random": "12.1.1", - "expo-screen-capture": "4.1.0", - "expo-secure-store": "11.1.0", - "expo-splash-screen": "0.14.1", - "expo-store-review": "5.1.0", + "expo-localization": "12.0.1", + "expo-notifications": "0.14.1", + "expo-random": "12.1.2", + "expo-screen-capture": "4.1.1", + "expo-secure-store": "11.1.1", + "expo-splash-screen": "0.14.2", + "expo-store-review": "5.1.1", "expo-updates": "0.11.3", "expo-video-thumbnails": "6.2.0", - "expo-web-browser": "10.1.0", + "expo-web-browser": "10.1.1", "i18next": "20.6.1", "li": "1.3.0", "lodash": "4.17.21", @@ -73,17 +74,17 @@ "react-native-blurhash": "1.1.8", "react-native-fast-image": "8.5.11", "react-native-feather": "1.1.2", - "react-native-flash-message": "0.2.0", - "react-native-gesture-handler": "2.1.0", + "react-native-flash-message": "0.2.1", + "react-native-gesture-handler": "2.2.0", "react-native-htmlview": "0.16.0", "react-native-pager-view": "5.4.9", "react-native-reanimated": "2.3.1", "react-native-safe-area-context": "3.3.2", - "react-native-screens": "3.10.1", + "react-native-screens": "3.10.2", "react-native-svg": "12.1.1", "react-native-swipe-list-view": "3.2.9", "react-native-tab-view": "3.1.1", - "react-query": "3.34.7", + "react-query": "3.34.12", "react-redux": "7.2.6", "react-timeago": "6.2.1", "redux-persist": "6.0.0", @@ -93,26 +94,26 @@ "valid-url": "1.0.9" }, "devDependencies": { - "@babel/core": "7.16.7", + "@babel/core": "7.17.0", "@babel/plugin-proposal-optional-chaining": "7.16.7", "@babel/preset-typescript": "7.16.7", - "@expo/config": "6.0.15", + "@expo/config": "6.0.16", "@types/lodash": "4.14.178", - "@types/react": "17.0.38", + "@types/react": "17.0.39", "@types/react-dom": "17.0.11", - "@types/react-native": "0.66.11", + "@types/react-native": "0.66.15", "@types/react-native-base64": "^0.2.0", - "@types/react-redux": "7.1.21", + "@types/react-redux": "7.1.22", "@types/react-timeago": "4.1.3", "@types/valid-url": "1.0.3", "@welldone-software/why-did-you-render": "6.2.3", "babel-plugin-module-resolver": "4.1.0", "babel-plugin-transform-remove-console": "6.9.4", "chalk": "4.1.2", - "dotenv": "10.0.0", + "dotenv": "16.0.0", "patch-package": "6.4.7", "postinstall-postinstall": "2.1.0", - "react-native-clean-project": "3.6.7", - "typescript": "4.5.4" + "react-native-clean-project": "4.0.0", + "typescript": "4.5.5" } }