chore: enable cloud setting on mobile (#4060)

* chore: enable cloud setting on mobile

* chore: disable ansi

* chore: bump up client api

* chore: bump up client api
This commit is contained in:
Nathan.fooo
2023-11-30 19:17:49 -08:00
committed by GitHub
parent 0683483fd4
commit b43b522d97
14 changed files with 110 additions and 69 deletions

View File

@ -8,6 +8,7 @@ import 'package:appflowy/mobile/presentation/database/mobile_calendar_screen.dar
import 'package:appflowy/mobile/presentation/database/mobile_grid_screen.dart';
import 'package:appflowy/mobile/presentation/favorite/mobile_favorite_page.dart';
import 'package:appflowy/mobile/presentation/presentation.dart';
import 'package:appflowy/mobile/presentation/setting/cloud/appflowy_cloud_page.dart';
import 'package:appflowy/mobile/presentation/setting/font/font_picker_screen.dart';
import 'package:appflowy/mobile/presentation/setting/language/language_picker_screen.dart';
import 'package:appflowy/plugins/base/color/color_picker_screen.dart';
@ -48,6 +49,7 @@ GoRouter generateRouter(Widget child) {
_mobileHomeSettingPageRoute(),
_mobileSettingPrivacyPolicyPageRoute(),
_mobileSettingUserAgreementPageRoute(),
_mobileCloudSettingAppFlowyCloudPageRoute(),
// view page
_mobileEditorScreenRoute(),
@ -216,6 +218,16 @@ GoRoute _mobileSettingPrivacyPolicyPageRoute() {
);
}
GoRoute _mobileCloudSettingAppFlowyCloudPageRoute() {
return GoRoute(
parentNavigatorKey: AppGlobals.rootNavKey,
path: AppFlowyCloudPage.routeName,
pageBuilder: (context, state) {
return const MaterialPage(child: AppFlowyCloudPage());
},
);
}
GoRoute _mobileSettingUserAgreementPageRoute() {
return GoRoute(
parentNavigatorKey: AppGlobals.rootNavKey,

View File

@ -51,6 +51,7 @@ AppFlowyConfiguration _makeAppFlowyConfiguration(
required Map<String, String> rustEnvs,
}) {
final env = getIt<AppFlowyCloudSharedEnv>();
rustEnvs["RUST_LOG"] = 'trace';
return AppFlowyConfiguration(
root: root,
custom_app_path: customAppPath,