- 修改 app.json 中的 bundleIdentifier 为 com.anonymous.digitalpilates - 更新 Info.plist 中的相关配置,确保与新标识符一致 - 在 project.pbxproj 中同步更新 PRODUCT_BUNDLE_IDENTIFIER
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"expo": {
|
|
"name": "digital-pilates",
|
|
"slug": "digital-pilates",
|
|
"version": "1.0.0",
|
|
"orientation": "portrait",
|
|
"icon": "./assets/images/icon.png",
|
|
"scheme": "digitalpilates",
|
|
"userInterfaceStyle": "automatic",
|
|
"newArchEnabled": true,
|
|
"ios": {
|
|
"supportsTablet": true,
|
|
"bundleIdentifier": "com.anonymous.digitalpilates"
|
|
},
|
|
"android": {
|
|
"adaptiveIcon": {
|
|
"foregroundImage": "./assets/images/adaptive-icon.png",
|
|
"backgroundColor": "#ffffff"
|
|
},
|
|
"edgeToEdgeEnabled": true,
|
|
"package": "com.anonymous.digitalpilates"
|
|
},
|
|
"web": {
|
|
"bundler": "metro",
|
|
"output": "static",
|
|
"favicon": "./assets/images/favicon.png"
|
|
},
|
|
"plugins": [
|
|
"expo-router",
|
|
[
|
|
"expo-splash-screen",
|
|
{
|
|
"image": "./assets/images/splash-icon.png",
|
|
"imageWidth": 200,
|
|
"resizeMode": "contain",
|
|
"backgroundColor": "#ffffff"
|
|
}
|
|
],
|
|
[
|
|
"react-native-health",
|
|
{
|
|
"enableHealthAPI": true,
|
|
"healthSharePermission": "应用需要访问您的健康数据(步数与能量消耗)以展示运动统计。"
|
|
}
|
|
]
|
|
],
|
|
"experiments": {
|
|
"typedRoutes": true
|
|
}
|
|
}
|
|
} |