File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java
9494 -->
9595 <meta-data android : name =" flutterEmbedding" android : value =" 2" />
96- <meta-data
97- android : name =" io.flutter.embedding.android.EnableImpeller"
98- android : value =" false" />
9996 <!-- enable floating window -->
10097 <service android : name =" flutter.overlay.window.flutter_overlay_window.OverlayService"
10198 android : exported =" false" />
Original file line number Diff line number Diff line change 11{
2- "version" : " 2.0.5 " ,
3- "version_num" : 10205 ,
4- "version_desc" : " -Fixed: 迁移数据至Hive. \n -Fixed: 优化版本显示UI . \n -Fixed: 优化播放器. " ,
2+ "version" : " 2.0.6 " ,
3+ "version_num" : 10206 ,
4+ "version_desc" : " -Fixed: 优化显示UI.添加全屏切换直播间.添加弹幕设置功能。 \n -Fixed: 优化弹幕显示 . \n -Fixed: 优化播放器. " ,
55 "prerelease" :false ,
66 "download_url" : " https://github.com/liuchuancong/pure_live/releases"
77}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import 'package:get/get.dart';
33import 'package:http/http.dart' as http;
44
55class VersionUtil {
6- static const String version = '2.0.5 ' ;
6+ static const String version = '2.0.6 ' ;
77 static const String projectUrl = 'https://github.com/liuchuancong/pure_live' ;
88 static const String releaseUrl = 'https://api.github.com/repos/liuchuancong/pure_live/releases?per_page=30' ;
99 static const String issuesUrl = 'https://github.com/liuchuancong/pure_live/issues' ;
Original file line number Diff line number Diff line change 11import 'dart:io' ;
2+ import 'dart:developer' ;
23import 'package:get/get.dart' ;
34import 'package:pure_live/common/index.dart' ;
45import 'package:pure_live/plugins/utils.dart' ;
@@ -42,9 +43,14 @@ class BackButtonObserver extends RouteObserver<PageRoute<dynamic>> {
4243 super .didPop (route, previousRoute);
4344 // 处理路由弹出事件
4445 if (route.settings.name == RoutePath .kLivePlay) {
45- Get .find <LivePlayController >().onDelete ();
46- doExitFullScreen ();
47- SwitchableGlobalPlayer ().stop ();
46+ try {
47+ SwitchableGlobalPlayer ().stop ();
48+ Get .find <LivePlayController >().success.value = false ;
49+ doExitFullScreen ();
50+ Get .find <LivePlayController >().onDelete ();
51+ } catch (e) {
52+ log (e.toString ());
53+ }
4854 }
4955 }
5056}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: pure_live
22description : A new Flutter project.
33publish_to : ' none' # Remove this line if you wish to publish to pub.dev
44
5- version : 2.0.5+16
5+ version : 2.0.6+17
66
77environment :
88 sdk : ^3.8.1
You can’t perform that action at this time.
0 commit comments