mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-07-08 04:26:30 +02:00
Version 3.0.337
This commit is contained in:
parent
fd0e63cf10
commit
573fe77e12
2336 changed files with 33688 additions and 86082 deletions
|
@ -1,5 +1,5 @@
|
|||
using Foundation;
|
||||
using System;
|
||||
using System;
|
||||
using Foundation;
|
||||
using TINK.iOS.Device;
|
||||
using TINK.Model.Device;
|
||||
using Xamarin.Forms;
|
||||
|
|
|
@ -24,12 +24,12 @@ namespace TINK.iOS.Device
|
|||
|
||||
public string Model => DeviceInfo.Model;
|
||||
|
||||
public string PlatformText => DeviceInfo.Platform.ToString();
|
||||
public DevicePlatform Platform => DeviceInfo.Platform;
|
||||
|
||||
public string VersionText => DeviceInfo.VersionString;
|
||||
/// <summary> Gets unitque device identifier. </summary>
|
||||
/// <returns>Gets the identifies specifying device.</returns>
|
||||
public string Identifier
|
||||
=> UIKit.UIDevice.CurrentDevice?.IdentifierForVendor?.AsString() ?? string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +1,23 @@
|
|||
using TINK.Model.Device;
|
||||
using Xamarin.Forms;
|
||||
using Foundation;
|
||||
using TINK.iOS.Device;
|
||||
using TINK.Model.Device;
|
||||
using UIKit;
|
||||
using Foundation;
|
||||
using Xamarin.Forms;
|
||||
|
||||
[assembly: Dependency(typeof(ExternalBrowseService))]
|
||||
namespace TINK.iOS.Device
|
||||
{
|
||||
public class ExternalBrowseService : IExternalBrowserService
|
||||
{
|
||||
/// <summary> Opens an external browser. </summary>
|
||||
/// <param name="p_strUrl">Url to open.</param>
|
||||
public void OpenUrl(string p_strUrl)
|
||||
/// <summary> Opens an external browser. </summary>
|
||||
/// <param name="p_strUrl">Url to open.</param>
|
||||
public void OpenUrl(string p_strUrl)
|
||||
{
|
||||
var l_oUrl = NSUrl.FromString(p_strUrl);
|
||||
if (l_oUrl == null)
|
||||
return;
|
||||
|
||||
UIApplication.SharedApplication.OpenUrl(l_oUrl);
|
||||
var l_oUrl = NSUrl.FromString(p_strUrl);
|
||||
if (l_oUrl == null)
|
||||
return;
|
||||
|
||||
UIApplication.SharedApplication.OpenUrl(l_oUrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using Xamarin.Forms;
|
||||
using System;
|
||||
using TINK.Model.Device;
|
||||
using System;
|
||||
using Xamarin.Forms;
|
||||
|
||||
[assembly: Dependency(typeof(TINK.iOS.Device.IOSCipher))]
|
||||
namespace TINK.iOS.Device
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue