Commit 963b0135 by tanghuan

fixed 以及更新打包版本号

1 parent a368b258
......@@ -31,10 +31,10 @@ class Constant {
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// app 版本号规则
static const String appVersion = '1.0.2512052';
static const String appVersion = '1.0.25120901';
/// H5的起始终最低版本号规则
static const String h5Version = '1.0.0';
static const String h5Version = '1.0.0-202512090942';
/// H5的版本号存储的key
static const String h5VersionKey = 'h5_version';
......
......@@ -7,6 +7,9 @@ class OpenWeappHandler extends MessageHandler {
@override
Future<bool> handleMessage(params) async {
_fluwx = getIt.get<Fluwx>();
// _fluwx.addSubscriber(_responseListener);
if (!await _fluwx.isWeChatInstalled) {
throw Exception('设备上未安装微信App,不支持跳转打开微信小程序');
}
......@@ -27,9 +30,6 @@ class OpenWeappHandler extends MessageHandler {
throw Exception('参数错误');
}
_fluwx = getIt.get<Fluwx>();
// _fluwx.addSubscriber(_responseListener);
try {
return await _fluwx.open(
target: MiniProgram(
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!