From 7fa4b66cd58a51c9e7e512ee652282825d16e5dc Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 27 十月 2020 15:13:21 +0800
Subject: [PATCH] 2020-10-27 1.增加iOS越狱和Androidr Root检测,强制关闭APP

---
 Crabtree/ON.Ios/ViewController.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Crabtree/ON.Ios/ViewController.cs b/Crabtree/ON.Ios/ViewController.cs
old mode 100755
new mode 100644
index 4f76b45..1edd592
--- a/Crabtree/ON.Ios/ViewController.cs
+++ b/Crabtree/ON.Ios/ViewController.cs
@@ -36,6 +36,8 @@
             //渚︽祴缃戠粶鍙樺寲
             Reachability.ReachabilityChanged += UpdateStatus;
 
+            Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote ((int)internetStatus, false);
+
             UITapGestureRecognizer oTapRecognizer = new UITapGestureRecognizer ();
             oTapRecognizer.CancelsTouchesInView = false;
             oTapRecognizer.AddTarget (
@@ -70,7 +72,8 @@
         {
             internetStatus = Reachability.InternetConnectionStatus ();
             UserConfig.Instance.internetStatus = (int)internetStatus;
-            Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote ((int)internetStatus);
+            //缃戠粶鍙樺寲閫氱煡
+            Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote ((int)internetStatus, false);
             if (internetStatus == NetworkStatus.NotReachable)//娌℃湁缃戠粶杩炴帴 0
             {
             } else if (internetStatus == NetworkStatus.ReachableViaCarrierDataNetwork)//3,4G鐨勭綉缁滆繛鎺� 1

--
Gitblit v1.8.0