|
|
@@ -19,6 +19,7 @@ import 'package:location/di/get_it.dart';
|
|
|
import 'package:location/module/main/today_track_helper.dart';
|
|
|
import 'package:location/push_notification/ios_push_notification_service.dart';
|
|
|
import 'package:location/resource/string.gen.dart';
|
|
|
+import 'package:location/sdk/gravity/gravity_helper.dart';
|
|
|
import 'package:location/socket/atmob_location_client.dart';
|
|
|
import 'package:location/utils/async_util.dart';
|
|
|
import 'package:location/utils/atmob_log.dart';
|
|
|
@@ -144,6 +145,8 @@ class AccountRepository {
|
|
|
phoneEventRepository.startReportPhoneEvent();
|
|
|
|
|
|
TodayTrackHelper.getInstance().clear();
|
|
|
+
|
|
|
+ GravityHelper.onLogin();
|
|
|
}
|
|
|
|
|
|
void logout() {
|
|
|
@@ -165,6 +168,8 @@ class AccountRepository {
|
|
|
urgentContactRepository.clearContactList();
|
|
|
|
|
|
phoneEventRepository.stopReportPhoneEvent();
|
|
|
+
|
|
|
+ GravityHelper.onLogout();
|
|
|
}
|
|
|
|
|
|
void refreshMemberStatus() {
|