Example #1
0
 public static bool IsTizenVersionSupported(string tizenVersion, bool showDialogIfNot)
 {
     if (!DeployHelper.IsTizenVersionSupported(tizenVersion))
     {
         if (showDialogIfNot)
         {
             Instance.ShowError($"Target platform version {tizenVersion} is not supported");
         }
         return(false);
     }
     return(true);
 }
Example #2
0
        private bool TargetHasTizenDotNET(SDBDeviceInfo device, out string lastErrorMessage)
        {
            bool isDotnetSupported = false;

            try
            {
                var cap = new SDBCapability(device);
                isDotnetSupported = DeployHelper.IsTizenVersionSupported(cap.GetValueByKey("platform_version"));
            }
            catch
            {
            }
            lastErrorMessage = isDotnetSupported ? string.Empty
                : "Failed to identify the .NET support on current platform version. Tizen .NET is supported on Tizen 4.0 or higher.";
            return(isDotnetSupported);
        }