Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

[flutter]: switch to stable channel

appflowyd283d2920245
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 88a0e70eaa..1e50ca8a82 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -23,7 +23,7 @@ jobs:
run: |
echo "$(pwd)/bin" >> $GITHUB_PATH
export PATH="$PATH:$(pwd)/bin"
- flutter channel dev
+ flutter channel stable
flutter config --enable-macos-desktop
flutter doctor
- name: Deps
@@ -63,7 +63,7 @@ jobs:
run: |
echo "$(pwd)/bin" >> $GITHUB_PATH
export PATH="$PATH:$(pwd)/bin"
- flutter channel dev
+ flutter channel stable
flutter config --enable-linux-desktop
flutter doctor
- name: Deps
diff --git a/README.md b/README.md
index ffab466a41..f14f7d42c5 100644
--- a/README.md
+++ b/README.md
@@ -86,10 +86,10 @@ cargo make install_targets
**Step 3:**
-Follow the instructions [here](https://flutter.dev/docs/get-started/install) to install Flutter. As AppFlowy uses the `dev` channel, you need to switch the channel. Just type:
+Follow the instructions [here](https://flutter.dev/docs/get-started/install) to install Flutter. As AppFlowy uses the `stable` channel, you need to switch the channel. Just type:
```shell
-flutter channel dev
+flutter channel stable
```
**Step 4:**
diff --git a/doc/BUILD_ON_LINUX.md b/doc/BUILD_ON_LINUX.md
index acc4c42111..25a32dd1bb 100644
--- a/doc/BUILD_ON_LINUX.md
+++ b/doc/BUILD_ON_LINUX.md
@@ -48,7 +48,7 @@ git clone https://github.com/flutter/flutter.git
cd flutter
echo "export PATH=\$PATH:"`pwd`"/bin" >> ~/.profile
export PATH="$PATH:`pwd`/bin"
-flutter channel dev
+flutter channel stable
flutter config --enable-linux-desktop
```
5. Fix problem reported by flutter doctor
diff --git a/doc/BUILD_ON_WINDOWS.md b/doc/BUILD_ON_WINDOWS.md
index 1f46f91f57..5ec1c2ebdb 100644
--- a/doc/BUILD_ON_WINDOWS.md
+++ b/doc/BUILD_ON_WINDOWS.md
@@ -25,7 +25,7 @@ Note:
2. Install vcpkg according to https://github.com/microsoft/vcpkg#quick-start-windows. Make sure to add vcpkg installation folder to PATH env var.
3. Install flutter according to https://docs.flutter.dev/get-started/install/windows
```shell
-flutter channel dev
+flutter channel stable
flutter doctor
```
4. Install rust
diff --git a/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
index 327448375e..fcef838641 100644
--- a/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
+++ b/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -10,6 +10,7 @@ import flowy_infra_ui
import flowy_sdk
import package_info_plus_macos
import path_provider_macos
+import shared_preferences_macos
import url_launcher_macos
import window_size
@@ -19,6 +20,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlowySdkPlugin.register(with: registry.registrar(forPlugin: "FlowySdkPlugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
+ SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))
}
diff --git a/frontend/app_flowy/pubspec.lock b/frontend/app_flowy/pubspec.lock
index 7d1c411e1d..11622827be 100644
--- a/frontend/app_flowy/pubspec.lock
+++ b/frontend/app_flowy/pubspec.lock
@@ -1126,7 +1126,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
- version: "2.1.0"
+ version: "2.1.1"
video_player:
dependency: transitive
description:
diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml
index a7d251f7db..ba2ccd99f0 100644
--- a/frontend/scripts/makefile/env.toml
+++ b/frontend/scripts/makefile/env.toml
@@ -159,7 +159,7 @@ script = """
ret = which flutter
if is_empty ${ret}
echo "[❤️] Follow the https://flutter.dev/docs/get-started/install instructions to install the flutter, skip if you already installed."
- echo "Switch to dev channel with command: flutter channel dev"
+ echo "Switch to dev channel with command: flutter channel stable"
exit -1
end
"""