From 242adc627d9fb74a4317772098d00e8d5da57914 Mon Sep 17 00:00:00 2001 From: "23028876916@qq.com" Date: Mon, 11 Jan 2021 14:53:36 +0800 Subject: [PATCH] =?UTF-8?q?0111=20=E6=8E=A8=E9=80=81=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E6=96=B9=E6=B3=95=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/lib/main.dart | 2 +- lib/register.dart | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index ad6729c..4b1effc 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -53,7 +53,7 @@ class _MyAppState extends State { FlutterAlibc.initAlibc(version: "", appName: "").then((result) { print("白川" + '${result.errorCode} ${result.errorMessage}'); }); - MobPushUtil.setCanPush(); + // app更新插件 AppUpdateUtil.initXUpdate(); diff --git a/lib/register.dart b/lib/register.dart index c8dc1f2..c5daacf 100644 --- a/lib/register.dart +++ b/lib/register.dart @@ -35,6 +35,7 @@ import 'package:zhiying_base_widget/pages/team_page/team_page.dart'; import 'package:zhiying_base_widget/pages/webview/base_webview.dart'; import 'package:zhiying_base_widget/pages/wechat_teacher_page/wechat_teacher_page.dart'; import 'package:zhiying_base_widget/pages/withdraw_page/withdraw_page.dart'; +import 'package:zhiying_base_widget/utils/mob_push_util.dart'; import 'package:zhiying_base_widget/widgets/custom/banner/custom_banner_widget.dart'; import 'package:zhiying_base_widget/widgets/custom/goods/custom_goods_creater.dart'; import 'package:zhiying_base_widget/widgets/custom/multi_nav/custom_quick_entry.dart'; @@ -134,6 +135,7 @@ class BaseWidgetRegister { // MOB 秒验 MobUtil.init(); + MobPushUtil.setCanPush(); // 缓存可能用到的数据,预加载 Application.addMethod(() { // 精选的数据