From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:22:48 +0800
Subject: [PATCH] 代码备份

---
 OnPro/HDL-ON_Android/SplashActivity.cs |   24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/OnPro/HDL-ON_Android/SplashActivity.cs b/OnPro/HDL-ON_Android/SplashActivity.cs
index 4fccb42..c598e9a 100644
--- a/OnPro/HDL-ON_Android/SplashActivity.cs
+++ b/OnPro/HDL-ON_Android/SplashActivity.cs
@@ -13,15 +13,12 @@
 using Com.Hdl.ON.Jpush.Androidjpush;
 using HDL_ON;
 using Java.Util;
-using Microsoft.AppCenter;
-using Microsoft.AppCenter.Analytics;
-using Microsoft.AppCenter.Crashes;
 using Shared;
 
 namespace HDL_ON_Android
 {
-    [Activity(Theme = "@style/SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTask, Name = "com.hdl.onpro.SplashActivity", ScreenOrientation = ScreenOrientation.Portrait)]
-    [IntentFilter(new string[] { "com.hdl.onpro.SplashActivity", Intent.ActionView })]
+    [Activity(Theme = "@style/SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTask, Name = "com.rongan.smart.SplashActivity", ScreenOrientation = ScreenOrientation.Portrait)]
+    [IntentFilter(new string[] { "com.rongan.smart.SplashActivity", Intent.ActionView })]
     public class SplashActivity : Activity
     {
         protected override void OnActivityResult(int requestCode, Result resultVal, Intent data)
@@ -60,6 +57,9 @@
             //StartActivityForResult(i, 1);
             //OverridePendingTransition(0, 0);
             //initAll();
+#if DEBUG
+            HDL_ON.OnAppConfig.Instance.isAgreePrivacyPolicy = true;
+#endif
             if (HDL_ON.OnAppConfig.Instance.FirstRunApp || !HDL_ON.OnAppConfig.Instance.isAgreePrivacyPolicy)
             {
                 //OnAppConfig.Instance.FirstRunApp = false;
@@ -125,8 +125,6 @@
 
         void initOhterSdk()
         {
-            //娉ㄥ唽鏈鐞嗗紓甯镐簨浠�
-            AppCenter.Start("64ac5859-2cd7-4ef8-a5da-5455e29679ec", typeof(Analytics), typeof(Crashes));
             //鎵嬫満鍚嶇О Android.OS.Build.Manufacturer;
             //OnAppConfig.Instance.PhoneName = Android.OS.Build.Manufacturer;
             //#if DEBUG
@@ -134,7 +132,7 @@
             //#endif
             JPushInterface.Init(this);
 
-            Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83");
+            Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "81d1c458ed");
             
 
             BaseActivity.OnCreateActoin += (activity, application) =>
@@ -144,10 +142,10 @@
 
             };
 
-            //鍒濆鍖栧弸鐩焥dk
-            Com.Hdl.Umsdk.UmSdk.InitUmSdk(this, "61d565d9e0f9bb492bbc3d5a", "Android");
-            //鍒濆鍖栧弸鐩焥dk config
-            Com.Hdl.Umsdk.UmSdk.InitUMConfigure(this, "61d565d9e0f9bb492bbc3d5a", "Android", "");
+            ////鍒濆鍖栧弸鐩焥dk
+            //Com.Hdl.Umsdk.UmSdk.InitUmSdk(this, "61d565d9e0f9bb492bbc3d5a", "Android");
+            ////鍒濆鍖栧弸鐩焥dk config
+            //Com.Hdl.Umsdk.UmSdk.InitUMConfigure(this, "61d565d9e0f9bb492bbc3d5a", "Android", "");
 
         }
 
@@ -279,7 +277,7 @@
             };
 
 
-            HDLUtils.SetAuthoritiesName("com.hdl.onpro.fileProvider");
+            HDLUtils.SetAuthoritiesName("com.rongan.smart.fileProvider");
 
             //Shared.Application.IsGpsEnable = true;
             //bool isfirst = true;

--
Gitblit v1.8.0