feat(mobile-next): 建立 v2 Token 唯一入口、内网地址与功能开关
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
co-authored by
Cursor
multica-agent
parent
45d91684bc
commit
d787c0a477
@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:openim_common/openim_common.dart';
|
||||
|
||||
import 'app.dart';
|
||||
import 'company/config/bootstrap.dart';
|
||||
|
||||
void main() {
|
||||
runZonedGuarded(() {
|
||||
@@ -12,7 +13,10 @@ void main() {
|
||||
Logger.print('FlutterError: ${details.exception.toString()}, ${details.stack.toString()}');
|
||||
};
|
||||
|
||||
Config.init(() => runApp(const ChatApp()));
|
||||
Config.init(() async {
|
||||
await CompanyBootstrap.install();
|
||||
runApp(const ChatApp());
|
||||
});
|
||||
}, (error, stackTrace) {
|
||||
Logger.print('FlutterError: ${error.toString()}, ${stackTrace.toString()}');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user