develop_sky #1
@ -66,12 +66,13 @@ FutureOr<void> main() async {
|
||||
// runApp(MultiProvider(providers: [
|
||||
// ChangeNotifierProvider(create: (_) => DebugInfoModel()),
|
||||
// ], child: MyApp(isLogin: isLogin)));
|
||||
CallKitHandler.setupListener();
|
||||
String? token = await CallKitHandler.getVoipToken();
|
||||
print('获取到的VoIP Token: $token');
|
||||
if (Platform.isIOS) {
|
||||
CallKitHandler.setupListener();
|
||||
String? token = await CallKitHandler.getVoipToken();
|
||||
print('获取到的VoIP Token: $token');
|
||||
}
|
||||
|
||||
runApp(MyApp(isLogin: isLogin));
|
||||
}, onException: (FlutterErrorDetails details) async {
|
||||
debugPrint('FlutterErrorDetails ${details.exceptionAsString()}');
|
||||
});
|
||||
|
||||
if (AppPlatform.isAndroid) {
|
||||
|
||||
@ -130,7 +130,7 @@ dependencies:
|
||||
video_decode_plugin:
|
||||
git:
|
||||
url: git@code.star-lock.cn:liyi/video_decode_plugin.git
|
||||
ref: bedb692484c9273f13b8bcb9723e86f56076183a
|
||||
ref: a451a2288eedfc5a17597680347e77ca5125aacf
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user