更新依赖项,升级 expo-font 和 expo-router 版本,添加 react-native-svg 支持

This commit is contained in:
yuchenglong
2026-01-21 10:21:53 +08:00
parent 1842cf93fb
commit 4f841d6bf4
4 changed files with 331 additions and 77 deletions

View File

@@ -45,7 +45,8 @@
"backgroundColor": "#000000" "backgroundColor": "#000000"
} }
} }
] ],
"expo-font"
], ],
"experiments": { "experiments": {
"typedRoutes": true, "typedRoutes": true,

View File

@@ -7,6 +7,7 @@ import React, { useState } from "react";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { import {
Image, Image,
LayoutChangeEvent,
Modal, Modal,
Pressable, Pressable,
StyleSheet, StyleSheet,
@@ -14,6 +15,12 @@ import {
TouchableOpacity, TouchableOpacity,
View, View,
} from "react-native"; } from "react-native";
import Svg, {
Defs,
Path,
Stop,
LinearGradient as SvgLinearGradient,
} from "react-native-svg";
interface StatsCardProps { interface StatsCardProps {
match: LiveScoreMatch; match: LiveScoreMatch;
@@ -25,6 +32,11 @@ export function StatsCard({ match, isDark }: StatsCardProps) {
const [flagSwitch, setFlagSwitch] = useState(true); const [flagSwitch, setFlagSwitch] = useState(true);
const [cardSwitch, setCardSwitch] = useState(true); const [cardSwitch, setCardSwitch] = useState(true);
const [showInfo, setShowInfo] = useState(false); const [showInfo, setShowInfo] = useState(false);
const [chartWidth, setChartWidth] = useState(0);
const onChartLayout = (event: LayoutChangeEvent) => {
setChartWidth(event.nativeEvent.layout.width);
};
// 实时时间与进度计算 // 实时时间与进度计算
const getInitialMinutes = () => { const getInitialMinutes = () => {
@@ -94,15 +106,50 @@ export function StatsCard({ match, isDark }: StatsCardProps) {
parseInt(possession.away.toString().replace("%", "")) || 50; parseInt(possession.away.toString().replace("%", "")) || 50;
// 用随机数据模拟压力曲线 // 用随机数据模拟压力曲线
const generateData = () => { const generateData = React.useMemo(() => {
return Array.from({ length: 90 }, (_, i) => ({ const data = [];
let h = 10;
let a = 10;
for (let i = 0; i < 90; i++) {
h = Math.max(0, Math.min(40, h + (Math.random() - 0.5) * 10));
a = Math.max(0, Math.min(40, a + (Math.random() - 0.5) * 10));
data.push({
time: i, time: i,
home: Math.sin(i / 5) * 20 + Math.random() * 10, home: h,
away: Math.cos(i / 4) * 15 + Math.random() * 12, away: a,
})); });
}
return data;
}, [match.event_key]);
const getWavePath = (
data: any[],
type: "home" | "away",
width: number,
height: number,
) => {
if (width === 0) return "";
const baseY = height / 2;
const points = data.map((d, i) => {
const x = (i / 89) * width;
const val = type === "home" ? d.home : d.away;
const y =
type === "home"
? baseY - (val / 50) * baseY
: baseY + (val / 50) * baseY;
return { x, y };
});
// 创建平滑曲线 (使用简单指令)
let d = `M 0 ${baseY}`;
points.forEach((p) => {
d += ` L ${p.x} ${p.y}`;
});
d += ` L ${width} ${baseY} Z`;
return d;
}; };
const chartData = generateData(); const chartData = generateData;
const iconTintColor = isDark ? "#888" : "#CCC"; const iconTintColor = isDark ? "#888" : "#CCC";
const switchBg = isDark ? "#2C2C2E" : "#F0F0F0"; const switchBg = isDark ? "#2C2C2E" : "#F0F0F0";
@@ -171,73 +218,121 @@ export function StatsCard({ match, isDark }: StatsCardProps) {
<View style={styles.gridContainer}> <View style={styles.gridContainer}>
{["0'", "15'", "30'", "HT", "60'", "75'", "90'"].map((label, i) => ( {["0'", "15'", "30'", "HT", "60'", "75'", "90'"].map((label, i) => (
<View key={i} style={styles.gridLine}> <View key={i} style={styles.gridLine}>
<View style={styles.line} /> <View
<ThemedText style={styles.gridLabel}>{label}</ThemedText> style={[styles.line, isDark && { backgroundColor: "#333" }]}
/>
<ThemedText
style={[styles.gridLabel, isDark && { color: "#888" }]}
>
{label}
</ThemedText>
</View> </View>
))} ))}
</View> </View>
{/* 压力曲线模拟 (使用密集的小条形模拟波形) */} {/* 压力曲线模拟 (Wave Chart) */}
<View style={styles.waveContainer}> <View style={styles.waveContainer} onLayout={onChartLayout}>
{chartData.map((d, i) => ( {chartWidth > 0 && (
<React.Fragment key={i}> <Svg
<View width={chartWidth}
style={[ height={110}
styles.waveBar, style={{ position: "absolute" }}
{ >
left: `${(i / 90) * 100}%`, <Defs>
height: Math.abs(d.home), <SvgLinearGradient
bottom: "50%", id="homeGradient"
backgroundColor: "rgba(59, 89, 152, 0.8)", x1="0"
borderTopLeftRadius: 1, y1="0"
borderTopRightRadius: 1, x2="0"
}, y2="1"
]} >
<Stop offset="0" stopColor="#3b5998" stopOpacity="0.6" />
<Stop offset="1" stopColor="#3b5998" stopOpacity="0" />
</SvgLinearGradient>
<SvgLinearGradient
id="awayGradient"
x1="0"
y1="0"
x2="0"
y2="1"
>
<Stop offset="0" stopColor="#FFAB00" stopOpacity="0" />
<Stop offset="1" stopColor="#FFAB00" stopOpacity="0.6" />
</SvgLinearGradient>
</Defs>
{/* Home Wave */}
<Path
d={getWavePath(chartData, "home", chartWidth, 110)}
fill="url(#homeGradient)"
stroke="#3b5998"
strokeWidth="1.5"
/> />
<View {/* Away Wave */}
style={[ <Path
styles.waveBar, d={getWavePath(chartData, "away", chartWidth, 110)}
{ fill="url(#awayGradient)"
left: `${(i / 90) * 100}%`, stroke="#FFAB00"
height: Math.abs(d.away), strokeWidth="1.5"
top: "50%",
backgroundColor: "rgba(255, 171, 0, 0.8)",
borderBottomLeftRadius: 1,
borderBottomRightRadius: 1,
},
]}
/> />
</React.Fragment> </Svg>
))} )}
</View> </View>
{/* 比赛事件标记 (假点位) */} {/* 动态标记:红黄牌 */}
<View style={[styles.eventMarker, { left: "12%", top: "10%" }]}> {chartWidth > 0 &&
<View style={[styles.square, { backgroundColor: "#FFD700" }]} /> cardSwitch &&
</View> match.cards?.map((card, idx) => {
<View style={[styles.eventMarker, { left: "55%", top: "10%" }]}> const time = parseInt(card.time) || 0;
<View style={[styles.square, { backgroundColor: "#FFD700" }]} /> const left = (time / 90) * chartWidth;
</View> const isHome = card.home_fault !== "";
<View style={[styles.eventMarker, { left: "65%", top: "10%" }]}> const isYellow = (card.card || "")
<View style={[styles.square, { backgroundColor: "#FF4444" }]} /> .toLowerCase()
</View> .includes("yellow");
<View style={[styles.eventMarker, { left: "52%", bottom: "25%" }]}> return (
<View style={styles.goalBox}> <View
<IconSymbol name="football-outline" size={10} color="#000" /> key={`card-${idx}`}
style={[
styles.eventMarker,
{ left, top: isHome ? "5%" : "72%" },
]}
>
<View <View
style={[ style={[
styles.square, styles.square,
{ {
backgroundColor: "#FFD700", backgroundColor: isYellow ? "#FFD700" : "#FF3B30",
width: 8, width: 8,
height: 10, height: 12,
borderRadius: 1, borderRadius: 1,
}, },
]} ]}
/> />
</View> </View>
);
})}
{/* 动态标记:进球 */}
{chartWidth > 0 &&
flagSwitch &&
match.goalscorers?.map((goal, idx) => {
const time = parseInt(goal.time) || 0;
const left = (time / 90) * chartWidth;
const isHome = !!goal.home_scorer;
return (
<View
key={`goal-${idx}`}
style={[
styles.eventMarker,
{ left, top: isHome ? "25%" : "55%" },
]}
>
<View style={styles.goalBox}>
<IconSymbol name="football" size={10} color="#000" />
</View> </View>
</View> </View>
);
})}
</View>
</View> </View>
{/* Time Progress Slider */} {/* Time Progress Slider */}

175
package-lock.json generated
View File

@@ -21,7 +21,7 @@
"expo-constants": "~18.0.13", "expo-constants": "~18.0.13",
"expo-dev-client": "~6.0.20", "expo-dev-client": "~6.0.20",
"expo-file-system": "^19.0.21", "expo-file-system": "^19.0.21",
"expo-font": "~14.0.10", "expo-font": "~14.0.11",
"expo-haptics": "~15.0.8", "expo-haptics": "~15.0.8",
"expo-image": "~3.0.11", "expo-image": "~3.0.11",
"expo-image-picker": "^17.0.10", "expo-image-picker": "^17.0.10",
@@ -29,7 +29,7 @@
"expo-linear-gradient": "^15.0.8", "expo-linear-gradient": "^15.0.8",
"expo-linking": "~8.0.11", "expo-linking": "~8.0.11",
"expo-localization": "^17.0.8", "expo-localization": "^17.0.8",
"expo-router": "~6.0.21", "expo-router": "~6.0.22",
"expo-splash-screen": "~31.0.13", "expo-splash-screen": "~31.0.13",
"expo-status-bar": "~3.0.9", "expo-status-bar": "~3.0.9",
"expo-symbols": "~1.0.8", "expo-symbols": "~1.0.8",
@@ -46,6 +46,7 @@
"react-native-reanimated": "~4.1.1", "react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0", "react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0", "react-native-screens": "~4.16.0",
"react-native-svg": "15.12.1",
"react-native-toast-message": "^2.3.3", "react-native-toast-message": "^2.3.3",
"react-native-web": "~0.21.0", "react-native-web": "~0.21.0",
"react-native-webview": "13.15.0", "react-native-webview": "13.15.0",
@@ -4606,6 +4607,12 @@
"node": ">=0.6" "node": ">=0.6"
} }
}, },
"node_modules/boolbase": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",
"license": "ISC"
},
"node_modules/bplist-creator": { "node_modules/bplist-creator": {
"version": "0.1.0", "version": "0.1.0",
"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz", "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz",
@@ -5150,6 +5157,56 @@
"hyphenate-style-name": "^1.0.3" "hyphenate-style-name": "^1.0.3"
} }
}, },
"node_modules/css-select": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz",
"integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==",
"license": "BSD-2-Clause",
"dependencies": {
"boolbase": "^1.0.0",
"css-what": "^6.1.0",
"domhandler": "^5.0.2",
"domutils": "^3.0.1",
"nth-check": "^2.0.1"
},
"funding": {
"url": "https://github.com/sponsors/fb55"
}
},
"node_modules/css-tree": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
"integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
"license": "MIT",
"dependencies": {
"mdn-data": "2.0.14",
"source-map": "^0.6.1"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/css-tree/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/css-what": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz",
"integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==",
"license": "BSD-2-Clause",
"engines": {
"node": ">= 6"
},
"funding": {
"url": "https://github.com/sponsors/fb55"
}
},
"node_modules/csstype": { "node_modules/csstype": {
"version": "3.2.3", "version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
@@ -5375,6 +5432,61 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/dom-serializer": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"license": "MIT",
"dependencies": {
"domelementtype": "^2.3.0",
"domhandler": "^5.0.2",
"entities": "^4.2.0"
},
"funding": {
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
"node_modules/domelementtype": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
"integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/fb55"
}
],
"license": "BSD-2-Clause"
},
"node_modules/domhandler": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"license": "BSD-2-Clause",
"dependencies": {
"domelementtype": "^2.3.0"
},
"engines": {
"node": ">= 4"
},
"funding": {
"url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/domutils": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",
"integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",
"license": "BSD-2-Clause",
"dependencies": {
"dom-serializer": "^2.0.0",
"domelementtype": "^2.3.0",
"domhandler": "^5.0.3"
},
"funding": {
"url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/dotenv": { "node_modules/dotenv": {
"version": "16.4.7", "version": "16.4.7",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",
@@ -5443,6 +5555,18 @@
"node": ">= 0.8" "node": ">= 0.8"
} }
}, },
"node_modules/entities": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=0.12"
},
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
"node_modules/env-editor": { "node_modules/env-editor": {
"version": "0.4.2", "version": "0.4.2",
"resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz", "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz",
@@ -6292,9 +6416,9 @@
} }
}, },
"node_modules/expo-font": { "node_modules/expo-font": {
"version": "14.0.10", "version": "14.0.11",
"resolved": "https://registry.npmjs.org/expo-font/-/expo-font-14.0.10.tgz", "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-14.0.11.tgz",
"integrity": "sha512-UqyNaaLKRpj4pKAP4HZSLnuDQqueaO5tB1c/NWu5vh1/LF9ulItyyg2kF/IpeOp0DeOLk0GY0HrIXaKUMrwB+Q==", "integrity": "sha512-ga0q61ny4s/kr4k8JX9hVH69exVSIfcIc19+qZ7gt71Mqtm7xy2c6kwsPTCyhBW2Ro5yXTT8EaZOpuRi35rHbg==",
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
"dependencies": { "dependencies": {
@@ -6460,9 +6584,9 @@
} }
}, },
"node_modules/expo-router": { "node_modules/expo-router": {
"version": "6.0.21", "version": "6.0.22",
"resolved": "https://registry.npmjs.org/expo-router/-/expo-router-6.0.21.tgz", "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-6.0.22.tgz",
"integrity": "sha512-wjTUjrnWj6gRYjaYl1kYfcRnNE4ZAQ0kz0+sQf6/mzBd/OU6pnOdD7WrdAW3pTTpm52Q8sMoeX98tNQEddg2uA==", "integrity": "sha512-6eOwobaVZQRsSQv0IoWwVlPbJru1zbreVsuPFIWwk7HApENStU2MggrceHXJqXjGho+FKeXxUop/gqOFDzpOMg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@expo/metro-runtime": "^6.1.2", "@expo/metro-runtime": "^6.1.2",
@@ -6494,7 +6618,7 @@
"@react-navigation/drawer": "^7.5.0", "@react-navigation/drawer": "^7.5.0",
"@testing-library/react-native": ">= 12.0.0", "@testing-library/react-native": ">= 12.0.0",
"expo": "*", "expo": "*",
"expo-constants": "^18.0.12", "expo-constants": "^18.0.13",
"expo-linking": "^8.0.11", "expo-linking": "^8.0.11",
"react": "*", "react": "*",
"react-dom": "*", "react-dom": "*",
@@ -9205,6 +9329,12 @@
"node": ">= 0.4" "node": ">= 0.4"
} }
}, },
"node_modules/mdn-data": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
"integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==",
"license": "CC0-1.0"
},
"node_modules/memoize-one": { "node_modules/memoize-one": {
"version": "5.2.1", "version": "5.2.1",
"resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz", "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz",
@@ -9787,6 +9917,18 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/nth-check": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
"integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
"license": "BSD-2-Clause",
"dependencies": {
"boolbase": "^1.0.0"
},
"funding": {
"url": "https://github.com/fb55/nth-check?sponsor=1"
}
},
"node_modules/nullthrows": { "node_modules/nullthrows": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz", "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz",
@@ -10803,6 +10945,21 @@
"react-native": "*" "react-native": "*"
} }
}, },
"node_modules/react-native-svg": {
"version": "15.12.1",
"resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.12.1.tgz",
"integrity": "sha512-vCuZJDf8a5aNC2dlMovEv4Z0jjEUET53lm/iILFnFewa15b4atjVxU6Wirm6O9y6dEsdjDZVD7Q3QM4T1wlI8g==",
"license": "MIT",
"dependencies": {
"css-select": "^5.1.0",
"css-tree": "^1.1.3",
"warn-once": "0.1.1"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-toast-message": { "node_modules/react-native-toast-message": {
"version": "2.3.3", "version": "2.3.3",
"resolved": "https://registry.npmjs.org/react-native-toast-message/-/react-native-toast-message-2.3.3.tgz", "resolved": "https://registry.npmjs.org/react-native-toast-message/-/react-native-toast-message-2.3.3.tgz",

View File

@@ -23,7 +23,7 @@
"expo-constants": "~18.0.13", "expo-constants": "~18.0.13",
"expo-dev-client": "~6.0.20", "expo-dev-client": "~6.0.20",
"expo-file-system": "^19.0.21", "expo-file-system": "^19.0.21",
"expo-font": "~14.0.10", "expo-font": "~14.0.11",
"expo-haptics": "~15.0.8", "expo-haptics": "~15.0.8",
"expo-image": "~3.0.11", "expo-image": "~3.0.11",
"expo-image-picker": "^17.0.10", "expo-image-picker": "^17.0.10",
@@ -31,7 +31,7 @@
"expo-linear-gradient": "^15.0.8", "expo-linear-gradient": "^15.0.8",
"expo-linking": "~8.0.11", "expo-linking": "~8.0.11",
"expo-localization": "^17.0.8", "expo-localization": "^17.0.8",
"expo-router": "~6.0.21", "expo-router": "~6.0.22",
"expo-splash-screen": "~31.0.13", "expo-splash-screen": "~31.0.13",
"expo-status-bar": "~3.0.9", "expo-status-bar": "~3.0.9",
"expo-symbols": "~1.0.8", "expo-symbols": "~1.0.8",
@@ -48,6 +48,7 @@
"react-native-reanimated": "~4.1.1", "react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0", "react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0", "react-native-screens": "~4.16.0",
"react-native-svg": "15.12.1",
"react-native-toast-message": "^2.3.3", "react-native-toast-message": "^2.3.3",
"react-native-web": "~0.21.0", "react-native-web": "~0.21.0",
"react-native-webview": "13.15.0", "react-native-webview": "13.15.0",