@ -38,8 +38,10 @@ class UserProvider extends ChangeNotifier {
await updateProfile();
await updateUserDetail();
await appProvider.updateHouses(await HouseFunc.passedHouses);
if (isLogin) {
WebSocketUtil().setUser(userInfoModel!.id.toString());
WebSocketUtil().startWebSocket();
}
notifyListeners();
} catch (e) {
LoggerData.addData(e);
@ -628,12 +628,10 @@ packages:
jpush_flutter:
dependency: "direct main"
description:
path: "."
ref: HEAD
resolved-ref: cbe804fd2389255be02729abbfd07deb6c468951
url: "https://git.oa00.com/flutter_third/jpush-flutter-plugin"
source: git
version: "2.0.1"
name: jpush_flutter
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.5"
js:
dependency: transitive
@ -77,9 +77,7 @@ dependencies:
#评分组件
flutter_rating_bar: ^4.0.0
#极光推送
git:
url: https://git.oa00.com/flutter_third/jpush-flutter-plugin
jpush_flutter: ^2.1.5
#打开文件
open_file: ^3.2.1
#角标