diff --git a/Assets/Plugins/Android/ImageSelector-release.aar b/Assets/Plugins/Android/ImageSelector-release.aar index c216e247..5a2ec437 100644 Binary files a/Assets/Plugins/Android/ImageSelector-release.aar and b/Assets/Plugins/Android/ImageSelector-release.aar differ diff --git a/Assets/Scripts/Mobile/LoginControllerMobile.cs b/Assets/Scripts/Mobile/LoginControllerMobile.cs index 2859dd98..2bf1dca2 100644 --- a/Assets/Scripts/Mobile/LoginControllerMobile.cs +++ b/Assets/Scripts/Mobile/LoginControllerMobile.cs @@ -65,7 +65,8 @@ public class LoginControllerMobile : MonoBehaviour, INativeOnMobileWxLoginResp var info = r.data.Value("UnityIos"); if (info.Value("Version") != App.AppVersion) { - Application.OpenURL(info.Value("Url")); + Application.OpenURL(info.Value("Url")); + Application.Quit(); } #endif } diff --git a/Assets/Scripts/Scenes/LoginController.cs b/Assets/Scripts/Scenes/LoginController.cs index 12238f8e..171e3d4d 100644 --- a/Assets/Scripts/Scenes/LoginController.cs +++ b/Assets/Scripts/Scenes/LoginController.cs @@ -546,7 +546,7 @@ public class LoginController : BaseScene var ver = r.data.Value("Version").ToObject(); if (ver.UpdateLog.Count != notifyId) //ver.UpdateLog.Count != notifyId { - var log = ver.UpdateLog.LastOrDefault(); + var log = ver.UpdateLog.FirstOrDefault(); if (log != null) { App.notifyContent = log.Desc; diff --git a/Assets/Scripts/UI/Prefab/MapList/MapItem.cs b/Assets/Scripts/UI/Prefab/MapList/MapItem.cs index 70b0e7a8..b8b17ca7 100644 --- a/Assets/Scripts/UI/Prefab/MapList/MapItem.cs +++ b/Assets/Scripts/UI/Prefab/MapList/MapItem.cs @@ -81,7 +81,6 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler, // } // SceneManager.LoadScene("Ride"); //}); - Debug.Log(84); transform.GetComponent