fix: login issue (#4546)

* fix: reset server url when using appflowy cloud the first time

* refactor: set authenticator in frontend

* chore: log version

* chore: show hint when changing the server type

* chore: bump version

* chore: fix test

* chore: bump collab
This commit is contained in:
Nathan.fooo
2024-01-30 09:33:34 +08:00
committed by GitHub
parent 55c97b56a3
commit c0aef8f4fe
44 changed files with 337 additions and 277 deletions

View File

@ -31,6 +31,7 @@ class InitRustSDKTask extends LaunchTask {
// Pass the environment variables to the Rust SDK
final env = _makeAppFlowyConfiguration(
root.path,
context.config.version,
dir.path,
applicationPath.path,
deviceId,
@ -45,6 +46,7 @@ class InitRustSDKTask extends LaunchTask {
AppFlowyConfiguration _makeAppFlowyConfiguration(
String root,
String appVersion,
String customAppPath,
String originAppPath,
String deviceId, {
@ -53,6 +55,7 @@ AppFlowyConfiguration _makeAppFlowyConfiguration(
final env = getIt<AppFlowyCloudSharedEnv>();
return AppFlowyConfiguration(
root: root,
app_version: appVersion,
custom_app_path: customAppPath,
origin_app_path: originAppPath,
device_id: deviceId,