Prechádzať zdrojové kódy

[fit]极光cleanTags完再把Channel设置

云天逵 7 mesiacov pred
rodič
commit
150c1b136d

+ 1 - 0
lib/data/repository/account_repository.dart

@@ -247,6 +247,7 @@ class AccountRepository {
     DailyLimiterUtil.clearDailyLimitData("SurpriseDialog");
     // 退出登录,清除极光推送的标签
     JpushHelper.getInstance().cleanTags();
+    JpushHelper.getInstance().setTags(tag: [getChannelName()]);
     // 退出登录,通知键盘刷新数据
     _notifyKeyboardPluginRefreshData();