wei
2021-07-16 65d30e65eb0ee4168871e891984ea565b144c7f4
HDL-ON_Android/Application.cs
@@ -104,8 +104,6 @@
                {
                    Language.CurrentLanguage = "English";
                }
                Language.CurrentLanguage = "English";
                //获取极光推送ID
                GetJPushRegistrationID(activity);
@@ -130,8 +128,6 @@
                    //网络变化处理
                    HDLCommon.Current.UpdateInternetStatus((int)internetStatus, MainPage.IsEnterBackground);
                };
                //开启定位服务
                Shared.Application.StartGPSLocationService();
            };
            BaseActivity.RefreshUIAction += (activity) =>
            {
@@ -230,9 +226,9 @@
        {
            //手机名称 Android.OS.Build.Manufacturer;
            //OnAppConfig.Instance.PhoneName = Android.OS.Build.Manufacturer;
#if DEBUG
            CN.Jpush.Android.Api.JPushInterface.SetDebugMode(true);
#endif
//#if DEBUG
            //CN.Jpush.Android.Api.JPushInterface.SetDebugMode(true);
//#endif
            CN.Jpush.Android.Api.JPushInterface.Init(this);
        }