version:4.5beta

fix:
update:增加获取手机号码,获取运营商类型,获取wifi网络运营商,获取手机号码
This commit is contained in:
2022-04-21 11:36:17 +08:00
parent 5b567c55b1
commit 11bad35331
15 changed files with 321 additions and 34 deletions

View File

@@ -153,6 +153,7 @@ public class BaseApplication extends MultiDexApplication {
public void onSuccess(Object data, int flag) {
//token在设备卸载重装的时候有可能会变
Log.e("TPush", "注册成功设备token为" + data);
MMKV.defaultMMKV().encode("XGPushtoken", data.toString());
List<XGPushManager.AccountInfo> accountInfoList = new ArrayList<>();
accountInfoList.add(new XGPushManager.AccountInfo(XGPushManager.AccountType.CUSTOM.getValue(), Utils.getSerial(getApplicationContext())));
if (Utils.NOSN.equalsIgnoreCase(Utils.getSerial())) {