update jpush

hmxc
张萌 3 years ago
parent d6f8000305
commit fc583059fb

@ -38,8 +38,10 @@ class UserProvider extends ChangeNotifier {
await updateProfile(); await updateProfile();
await updateUserDetail(); await updateUserDetail();
await appProvider.updateHouses(await HouseFunc.passedHouses); await appProvider.updateHouses(await HouseFunc.passedHouses);
if (isLogin) {
WebSocketUtil().setUser(userInfoModel!.id.toString()); WebSocketUtil().setUser(userInfoModel!.id.toString());
WebSocketUtil().startWebSocket(); WebSocketUtil().startWebSocket();
}
notifyListeners(); notifyListeners();
} catch (e) { } catch (e) {
LoggerData.addData(e); LoggerData.addData(e);

@ -628,12 +628,10 @@ packages:
jpush_flutter: jpush_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: jpush_flutter
ref: HEAD url: "https://pub.flutter-io.cn"
resolved-ref: cbe804fd2389255be02729abbfd07deb6c468951 source: hosted
url: "https://git.oa00.com/flutter_third/jpush-flutter-plugin" version: "2.1.5"
source: git
version: "2.0.1"
js: js:
dependency: transitive dependency: transitive
description: description:

@ -77,9 +77,7 @@ dependencies:
#评分组件 #评分组件
flutter_rating_bar: ^4.0.0 flutter_rating_bar: ^4.0.0
#极光推送 #极光推送
jpush_flutter: jpush_flutter: ^2.1.5
git:
url: https://git.oa00.com/flutter_third/jpush-flutter-plugin
#打开文件 #打开文件
open_file: ^3.2.1 open_file: ^3.2.1
#角标 #角标

Loading…
Cancel
Save