顾海波

【优化】修改获取设备id时机,用于上架

... ... @@ -62,7 +62,6 @@ class AutoTrackConfigManager {
updateConfig((old) {
return config;
});
_updateDeviceId();
}
void updateConfig(UpdateConfigFunc func) {
... ... @@ -96,6 +95,9 @@ class AutoTrackConfigManager {
void enableAutoTrack(bool enable) {
_autoTrackEnable = enable;
if(enable){
_updateDeviceId();
}
//获取token
getToken(false);
}
... ...