chore(mobile): enable ai button feature flag for canary only (#12377)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **Chores**
  - Updated Apollo iOS dependency to version 1.21.0 and removed the SQLite.swift dependency in the iOS app workspace.
- **New Features**
  - The "Enable Mobile AI Button" feature flag is now configurable only for mobile canary builds.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
CatsJuice
2025-05-21 01:39:15 +00:00
parent 0737cef9b2
commit 9d234c3ef2
3 changed files with 5 additions and 23 deletions

View File

@@ -5,8 +5,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git", "location" : "https://github.com/apollographql/apollo-ios.git",
"state" : { "state" : {
"revision" : "51e535dcf5439c01396d668a9598748ea86c7c1a", "revision" : "6ecc75281dab2fa231cb0d5fed3a3713826fecae",
"version" : "1.20.0" "version" : "1.21.0"
} }
}, },
{ {
@@ -27,15 +27,6 @@
"version" : "0.16.0" "version" : "0.16.0"
} }
}, },
{
"identity" : "sqlite.swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/stephencelis/SQLite.swift.git",
"state" : {
"revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8",
"version" : "0.15.3"
}
},
{ {
"identity" : "swift-cmark", "identity" : "swift-cmark",
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",

View File

@@ -5,17 +5,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git", "location" : "https://github.com/apollographql/apollo-ios.git",
"state" : { "state" : {
"revision" : "e98e9d3b398b6005149074d51b097e31aaa44f63", "revision" : "6ecc75281dab2fa231cb0d5fed3a3713826fecae",
"version" : "1.17.0" "version" : "1.21.0"
}
},
{
"identity" : "sqlite.swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/stephencelis/SQLite.swift.git",
"state" : {
"revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8",
"version" : "0.15.3"
} }
} }
], ],

View File

@@ -249,7 +249,7 @@ export const AFFINE_FLAGS = {
category: 'affine', category: 'affine',
displayName: 'Enable AI Button', displayName: 'Enable AI Button',
description: 'Enable AI Button on mobile', description: 'Enable AI Button on mobile',
configurable: BUILD_CONFIG.isMobileEdition, configurable: BUILD_CONFIG.isMobileEdition && isCanaryBuild,
defaultState: false, defaultState: false,
}, },
enable_turbo_renderer: { enable_turbo_renderer: {