Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -141,6 +141,7 @@ export class StartupManager { | @@ -141,6 +141,7 @@ export class StartupManager { | ||
| 141 | 141 | ||
| 142 | GetuiPush.sharedInstance().requestEnableNotifications(this.context!).then((enabled) => { | 142 | GetuiPush.sharedInstance().requestEnableNotifications(this.context!).then((enabled) => { |
| 143 | HWLocationUtils.startLocationService() | 143 | HWLocationUtils.startLocationService() |
| 144 | + SPHelper.default.save(SpConstants.SETTING_PUSH_SWITCH,enabled) | ||
| 144 | }) | 145 | }) |
| 145 | 146 | ||
| 146 | GetuiPush.sharedInstance().onReachMainPage() | 147 | GetuiPush.sharedInstance().onReachMainPage() |
-
Please register or login to post a comment