修复xhj环境极光推送卸载,首次登录未绑定设备,导致无法接收推送问题
This commit is contained in:
parent
7d55cc2159
commit
8a6bcd0871
@ -53,7 +53,8 @@ class StarLockLoginLogic extends BaseGetXController {
|
|||||||
Storage.saveLoginData(entity.data);
|
Storage.saveLoginData(entity.data);
|
||||||
Storage.setBool(saveIsVip, entity.data!.isVip == 1);
|
Storage.setBool(saveIsVip, entity.data!.isVip == 1);
|
||||||
eventBus.fire(MineInfoChangeRefreshUI());
|
eventBus.fire(MineInfoChangeRefreshUI());
|
||||||
XSJPushProvider().bindDeviceID();
|
await XSJPushProvider().initJPushService();
|
||||||
|
await XSJPushProvider().bindDeviceID();
|
||||||
XSJPushProvider().initLocalNotification(isCancelLocalPush: false);
|
XSJPushProvider().initLocalNotification(isCancelLocalPush: false);
|
||||||
Get.offNamedUntil(Routers.starLockMain, (Route route) => false);
|
Get.offNamedUntil(Routers.starLockMain, (Route route) => false);
|
||||||
BlueManage().scanDevices.clear(); //清除设备缓存
|
BlueManage().scanDevices.clear(); //清除设备缓存
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user