Skip to content

Commit 1844e16

Browse files
author
liuchuancong
committed
fix(*)
1 parent a3860c9 commit 1844e16

5 files changed

Lines changed: 14 additions & 11 deletions

File tree

android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@
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" />

assets/version.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
}

lib/common/utils/version_util.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:get/get.dart';
33
import 'package:http/http.dart' as http;
44

55
class 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';

lib/routes/app_navigation.dart

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'dart:io';
2+
import 'dart:developer';
23
import 'package:get/get.dart';
34
import 'package:pure_live/common/index.dart';
45
import '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
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: pure_live
22
description: A new Flutter project.
33
publish_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

77
environment:
88
sdk: ^3.8.1

0 commit comments

Comments
 (0)