Files
cindy/apps/mobile/app.json
Dash ce3e341ea3 feat(notifications): answer questions and act on task alerts from the notification
Task alerts on iPhone can now be acted on without opening the app:

- A question the agent asked shows a custom card when the alert is expanded
  (task, full question, what each option means) with one system button per
  option, plus "Reply" and "Open task".
- A finished task can be replied to from the alert.
- A low-risk permission request whose whole operation fits the alert offers
  "Allow once" (unlocked device only) and "Deny".

The press is handled in the background: the app reconnects, re-reads the
pending request from the computer, and answers only the request the alert
described. A press that does not get through is reported with a local alert.
Login credentials become readable after first unlock so this works while the
phone is locked; a locked background cold launch is held instead of being
treated as signed out.

The agent Live Activity also gains a compact layout for the Apple Watch Smart
Stack.

Protocol: NotifyPayload gains an optional `action`. Old servers and apps
ignore it.

Native changes (new content extension target, background-work module,
notification categories, Keychain accessibility) change the mobile runtime
fingerprint and need a native release.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 18:05:27 +13:00

196 lines
5.9 KiB
JSON

{
"expo": {
"name": "Cindy",
"slug": "xdt-maker-mobile",
"scheme": "cindycn",
"version": "0.1.0",
"orientation": "default",
"icon": "./assets/icon.png",
"userInterfaceStyle": "automatic",
"locales": {
"en": "./locales/en.json",
"zh-Hans": "./locales/zh-Hans.json",
"zh-Hant": "./locales/zh-Hant.json",
"ja": "./locales/ja.json",
"ko": "./locales/ko.json",
"es": "./locales/es.json",
"fr": "./locales/fr.json",
"de": "./locales/de.json",
"pt-PT": "./locales/pt-PT.json",
"pt-BR": "./locales/pt-BR.json"
},
"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-agent-net-native",
"./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",
{
"android": {
"enableMinifyInReleaseBuilds": true,
"enableShrinkResourcesInReleaseBuilds": true
},
"ios": {
"buildReactNativeFromSource": true
}
}
],
"./plugins/with-android-release-optimization",
[
"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",
"./plugins/with-notification-content",
"./plugins/with-usage-widgets",
"expo-secure-store",
"expo-web-browser",
"./plugins/with-incoming-share-files",
[
"expo-sharing",
{
"ios": {
"enabled": true,
"activationRule": {
"supportsText": true,
"supportsWebUrlWithMaxCount": 20,
"supportsWebPageWithMaxCount": 20,
"supportsMovieWithMaxCount": 20,
"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-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": {}
}
}
}