From 11b534534bf79405d884c3a6e59b6ae04b862c91 Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 17 Jun 2025 13:05:48 -0700 Subject: [PATCH] use sed to replace --- .github/workflows/build-submit-android.yml | 4 ++++ .github/workflows/bundle-deploy-eas-update.yml | 4 ++++ package.json | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-submit-android.yml b/.github/workflows/build-submit-android.yml index f75c95052e..cff99f9c7e 100644 --- a/.github/workflows/build-submit-android.yml +++ b/.github/workflows/build-submit-android.yml @@ -52,6 +52,10 @@ jobs: distribution: 'temurin' java-version: '17' + - name: "Use upgraded MMKV for Fabric" + run: | + sed -i 's/"react-native-mmkv": "\^2\.12\.2"/"react-native-mmkv": "^3.3.0"/' filename.txt + - name: ⚙️ Install dependencies run: yarn install diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index 5a4702f964..cd62b4e8c5 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -275,6 +275,10 @@ jobs: distribution: 'temurin' java-version: '17' + - name: "Use upgraded MMKV for Fabric" + run: | + sed -i 's/"react-native-mmkv": "\^2\.12\.2"/"react-native-mmkv": "^3.3.0"/' filename.txt + - name: ⚙️ Install dependencies run: yarn install diff --git a/package.json b/package.json index fe38554141..0e8dece624 100644 --- a/package.json +++ b/package.json @@ -191,7 +191,7 @@ "react-native-get-random-values": "~1.11.0", "react-native-ios-context-menu": "^1.15.3", "react-native-keyboard-controller": "^1.17.1", - "react-native-mmkv": "^2.12.2", + "react-native-mmkv": "^3.3.0", "react-native-pager-view": "^6.7.1", "react-native-progress": "bluesky-social/react-native-progress", "react-native-qrcode-styled": "^0.3.3",