mirror of
https://github.com/makecindy/cindy.git
synced 2026-12-03 21:40:27 +08:00
* build(mobile): 安卓 AsyncStorage 数据库上限从 6 MiB 调到 64 MiB 新增 config plugin 写入 gradle.properties 的 AsyncStorage_db_size_in_MB, 避免本地库写满导致发件箱/草稿写入 SQLITE_FULL(#5403)。原生构建配置, 会改变 runtime fingerprint,需随新安装包发布。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * test(mobile): 锁定 AsyncStorage 上限为 64 MiB Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
173 lines
5.1 KiB
JSON
173 lines
5.1 KiB
JSON
{
|
|
"expo": {
|
|
"name": "Cindy",
|
|
"slug": "xdt-maker-mobile",
|
|
"scheme": "cindycn",
|
|
"version": "0.1.0",
|
|
"orientation": "default",
|
|
"icon": "./assets/icon.png",
|
|
"userInterfaceStyle": "automatic",
|
|
"runtimeVersion": {
|
|
"policy": "fingerprint"
|
|
},
|
|
"ios": {
|
|
"bundleIdentifier": "com.xd.cindycn",
|
|
"usesAppleSignIn": true,
|
|
"buildNumber": "2026072301",
|
|
"entitlements": {
|
|
"aps-environment": "production"
|
|
},
|
|
"infoPlist": {
|
|
"ITSAppUsesNonExemptEncryption": false,
|
|
"UIViewControllerBasedStatusBarAppearance": true,
|
|
"UISupportedInterfaceOrientations": [
|
|
"UIInterfaceOrientationPortrait",
|
|
"UIInterfaceOrientationPortraitUpsideDown",
|
|
"UIInterfaceOrientationLandscapeLeft",
|
|
"UIInterfaceOrientationLandscapeRight"
|
|
],
|
|
"UISupportedInterfaceOrientations~ipad": [
|
|
"UIInterfaceOrientationPortrait",
|
|
"UIInterfaceOrientationPortraitUpsideDown",
|
|
"UIInterfaceOrientationLandscapeLeft",
|
|
"UIInterfaceOrientationLandscapeRight"
|
|
]
|
|
},
|
|
"supportsTablet": true
|
|
},
|
|
"android": {
|
|
"package": "com.xd.cindycn",
|
|
"adaptiveIcon": {
|
|
"backgroundColor": "#F70121",
|
|
"foregroundImage": "./assets/android-icon-foreground.png",
|
|
"monochromeImage": "./assets/android-icon-monochrome.png"
|
|
},
|
|
"predictiveBackGestureEnabled": false,
|
|
"permissions": ["android.permission.MODIFY_AUDIO_SETTINGS"],
|
|
"blockedPermissions": [
|
|
"android.permission.READ_EXTERNAL_STORAGE",
|
|
"android.permission.WRITE_EXTERNAL_STORAGE",
|
|
"android.permission.READ_MEDIA_AUDIO",
|
|
"android.permission.READ_MEDIA_IMAGES",
|
|
"android.permission.READ_MEDIA_VIDEO",
|
|
"android.permission.READ_MEDIA_VISUAL_USER_SELECTED"
|
|
]
|
|
},
|
|
"web": {
|
|
"favicon": "./assets/favicon.png"
|
|
},
|
|
"plugins": [
|
|
"./plugins/with-message-menu-icons",
|
|
"./plugins/with-third-party-notices",
|
|
"./plugins/with-google-signin-modular-headers",
|
|
"./plugins/with-wechat-opensdk-modulemap",
|
|
"./plugins/with-async-storage-db-size",
|
|
[
|
|
"expo-build-properties",
|
|
{
|
|
"ios": {
|
|
"buildReactNativeFromSource": true,
|
|
"enableSceneSupport": true
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"expo-splash-screen",
|
|
{
|
|
"backgroundColor": "#DF0C27",
|
|
"dark": {
|
|
"backgroundColor": "#DF0C27"
|
|
},
|
|
"android": {
|
|
"backgroundColor": "#DF0C27",
|
|
"image": "./assets/login/login-hero@2x.png",
|
|
"imageWidth": 128,
|
|
"dark": {
|
|
"backgroundColor": "#DF0C27",
|
|
"image": "./assets/login/login-hero@2x.png"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"expo-router",
|
|
"expo-apple-authentication",
|
|
"expo-notifications",
|
|
"./plugins/with-communication-notifications",
|
|
"expo-secure-store",
|
|
"expo-web-browser",
|
|
[
|
|
"expo-sharing",
|
|
{
|
|
"ios": {
|
|
"enabled": true,
|
|
"activationRule": {
|
|
"supportsFileWithMaxCount": 20,
|
|
"supportsImageWithMaxCount": 20
|
|
}
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"expo-font",
|
|
{
|
|
"ios": {
|
|
"fonts": [
|
|
"./assets/fonts/JetBrainsMono-Regular.ttf",
|
|
"./assets/fonts/JetBrainsMono-Medium.ttf"
|
|
]
|
|
},
|
|
"android": {
|
|
"fonts": [
|
|
{
|
|
"fontFamily": "JetBrains Mono",
|
|
"fontDefinitions": [
|
|
{
|
|
"path": "./assets/fonts/JetBrainsMono-Regular.ttf",
|
|
"weight": 400
|
|
},
|
|
{
|
|
"path": "./assets/fonts/JetBrainsMono-Medium.ttf",
|
|
"weight": 500
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"./plugins/with-incoming-share-files",
|
|
"./plugins/with-remote-desktop-presentation",
|
|
"./plugins/with-foreground-only-audio",
|
|
[
|
|
"expo-audio",
|
|
{
|
|
"microphonePermission": "Cindy needs microphone access for voice input in remote sessions.",
|
|
"recordAudioAndroid": true,
|
|
"enableBackgroundPlayback": false,
|
|
"enableBackgroundRecording": false
|
|
}
|
|
],
|
|
[
|
|
"expo-image-picker",
|
|
{
|
|
"photosPermission": "Cindy needs photo library access to attach images to remote sessions.",
|
|
"cameraPermission": "Cindy needs camera access to attach photos to remote sessions.",
|
|
"microphonePermission": "Cindy needs microphone access for voice input in remote sessions."
|
|
}
|
|
],
|
|
[
|
|
"expo-media-library",
|
|
{
|
|
"photosPermission": "Cindy needs photo library access to show recent photos and screenshots for quick attaching.",
|
|
"savePhotosPermission": false,
|
|
"isAccessMediaLocationEnabled": false,
|
|
"granularPermissions": []
|
|
}
|
|
]
|
|
],
|
|
"extra": {
|
|
"router": {}
|
|
}
|
|
}
|
|
}
|