fix(deps): remove explicit react-native-bottom-tabs dependency

This commit is contained in:
paregi12 2025-12-24 15:29:41 +05:30
parent 25da48690f
commit 0e7181b424
2 changed files with 2 additions and 12 deletions

View file

@ -27,17 +27,7 @@ jobs:
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Fix react-native-bottom-tabs plugin
run: |
# Patch app.plugin.js to require the CommonJS module instead of the ESM one
if [ -f node_modules/react-native-bottom-tabs/app.plugin.js ]; then
sed -i "s|require('./lib/module/expo')|require('./lib/commonjs/expo')|g" node_modules/react-native-bottom-tabs/app.plugin.js
echo "Patched react-native-bottom-tabs/app.plugin.js"
else
echo "File node_modules/react-native-bottom-tabs/app.plugin.js not found, skipping patch."
fi
- name: Build Android App
env:
SENTRY_DISABLE_AUTO_UPLOAD: true

View file

@ -66,8 +66,8 @@
"posthog-react-native": "^4.4.0",
"react": "19.1.0",
"react-native": "0.81.4",
"react-native-background-timer": "^2.4.1",
"react-native-boost": "^0.6.2",
"react-native-bottom-tabs": "^1.0.2",
"react-native-gesture-handler": "^2.29.1",
"react-native-get-random-values": "^2.0.0",
"react-native-google-cast": "^4.9.1",