Skip to content

Commit

Permalink
[ios] Update samples
Browse files Browse the repository at this point in the history
  • Loading branch information
juraskrlec committed Jul 17, 2019
1 parent a2373cd commit 1c5b535
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 48 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Xamarin.Forms.3.6.0.264807\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.3.6.0.264807\build\Xamarin.Forms.props')" />
<Import Project="..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.props')" />
<Import Project="..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.props" Condition="Exists('..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -55,16 +55,16 @@ https://github.com/BlinkID/blinkid-ios/releases/tag/v4.10.0</PackageReleaseNotes
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
<Reference Include="Xamarin.Forms.Core">
<HintPath>..\packages\Xamarin.Forms.3.6.0.264807\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform">
<HintPath>..\packages\Xamarin.Forms.3.6.0.264807\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform.iOS">
<HintPath>..\packages\Xamarin.Forms.3.6.0.264807\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Xaml">
<HintPath>..\packages\Xamarin.Forms.3.6.0.264807\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -195,5 +195,5 @@ https://github.com/BlinkID/blinkid-ios/releases/tag/v4.10.0</PackageReleaseNotes
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.targets" Condition="Exists('..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.targets')" />
<Import Project="..\packages\Xamarin.Forms.3.6.0.264807\build\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.3.6.0.264807\build\Xamarin.Forms.targets')" />
<Import Project="..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.targets')" />
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NuGet.Build.Packaging" version="0.2.2" targetFramework="xamarinios10" developmentDependency="true" />
<package id="Xamarin.Forms" version="3.6.0.264807" targetFramework="xamarinios10" />
<package id="Xamarin.Forms" version="4.1.0.581479" targetFramework="xamarinios10" />
</packages>
16 changes: 0 additions & 16 deletions Binding/iOS/ApiDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2178,22 +2178,6 @@ interface MBImageReturnProcessor : INSCopying
bool EncodeImage { get; set; }
}

// @interface MBLegacyRecognizer : MBRecognizer

[BaseType(typeof(MBRecognizer))]
[DisableDefaultCtor]
interface MBLegacyRecognizer
{
}

// @interface MBLegacyRecognizerResult : MBRecognizerResult

[BaseType(typeof(MBRecognizerResult))]
[DisableDefaultCtor]
interface MBLegacyRecognizerResult
{
}

// @protocol MBFaceImageResult
[Protocol]
interface IMBFaceImageResult
Expand Down
2 changes: 1 addition & 1 deletion Samples/Forms/Core/BlinkIDPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public BlinkIDPage ()
// both these license keys are demo license keys for bundleID/applicationID com.microblink.xamarin.blinkid
if (Device.RuntimePlatform == Device.iOS)
{
licenseKey = "sRwAAAEeY29tLm1pY3JvYmxpbmsueGFtYXJpbi5ibGlua2lks3unDL+B9jpa6FcAx5h88CdDbY3Ed+UmC8vCiVkZ+6EIZ7hW41+6+HV0NsoLauehaCsqgNSVOm4Wejt+tuG72LqnsaPTlqMQJywstXv26AMJvjXkP36f/F/Aaux+QMy7JtoBgS75/BttvsUuZOgN6W3MRR3x1uT6zcXiK+d8wUPbjFLwst5iMm3nCrzkHaQI/N4ZAFeAAYRw4sKObUjJBW1WnQc2dujTKsDW7daandn3Xp/TvDHslNQL+nkJ";
licenseKey = "sRwAAAEeY29tLm1pY3JvYmxpbmsueGFtYXJpbi5ibGlua2lks3unDL+B9jpa6FcAwcjfVVpqQ5+cFLVVc+JpXyT3hXk3yn3wOhLLYa463nHLymolY0slyyr/aFmLhy3B5Tz1r/JzKIuXog5khwwEnPWkwnY+DT/a1hiL5tqtnaFhQIT84E1jRGo8T9nhy1V2XEjvLpFYRDUm41elqenQ0gI/gtUPLWNcE2xcacaFj17OqyvjDrsbmV3ZOsjxqBRWm2RrMwOLsJqxt0SBHAAJ3jqd8jozabnTlm37H0LFKsm0TUFRZRs=";
}
else
{
Expand Down
22 changes: 11 additions & 11 deletions Samples/Forms/iOS/iOS.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Xamarin.Forms.3.6.0.344457\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.3.6.0.344457\build\Xamarin.Forms.props')" />
<Import Project="..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
Expand Down Expand Up @@ -73,26 +73,26 @@
<Reference Include="Xamarin.iOS" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http" />
<Reference Include="iOSBinding">
<HintPath>..\packages\BlinkID.iOS.Binding.4.9.0\lib\xamarinios10\iOSBinding.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Core">
<HintPath>..\packages\Xamarin.Forms.3.6.0.344457\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform">
<HintPath>..\packages\Xamarin.Forms.3.6.0.344457\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform.iOS">
<HintPath>..\packages\Xamarin.Forms.3.6.0.344457\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Xaml">
<HintPath>..\packages\Xamarin.Forms.3.6.0.344457\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
<HintPath>..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
</Reference>
<Reference Include="iOSBinding">
<HintPath>..\packages\BlinkID.iOS.Binding.4.10.0\lib\xamarinios10\iOSBinding.dll</HintPath>
</Reference>
<Reference Include="BlinkID.Forms.Core">
<HintPath>..\packages\BlinkID.Forms.Core.4.9.0\lib\netstandard1.0\BlinkID.Forms.Core.dll</HintPath>
<HintPath>..\packages\BlinkID.Forms.Core.4.10.0\lib\netstandard1.0\BlinkID.Forms.Core.dll</HintPath>
</Reference>
<Reference Include="BlinkID">
<HintPath>..\packages\BlinkID.Forms.iOS.4.9.0\lib\xamarinios10\BlinkID.dll</HintPath>
<HintPath>..\packages\BlinkID.Forms.iOS.4.10.0\lib\xamarinios10\BlinkID.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand All @@ -118,5 +118,5 @@
</ProjectReference>
</ItemGroup>
<Import Project="..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
<Import Project="..\packages\Xamarin.Forms.3.6.0.344457\build\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.3.6.0.344457\build\Xamarin.Forms.targets')" />
<Import Project="..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.4.1.0.581479\build\Xamarin.Forms.targets')" />
</Project>
16 changes: 8 additions & 8 deletions Samples/Forms/iOS/packages.config
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BlinkID.Forms" version="4.9.0" targetFramework="xamarinios10" />
<package id="BlinkID.Forms.Core" version="4.9.0" targetFramework="xamarinios10" />
<package id="BlinkID.Forms.iOS" version="4.9.0" targetFramework="xamarinios10" />
<package id="BlinkID.iOS.Binding" version="4.9.0" targetFramework="xamarinios10" />
<package id="Microsoft.NETCore.Platforms" version="2.2.0" targetFramework="xamarinios10" />
<package id="BlinkID.Forms" version="4.10.0" targetFramework="xamarinios10" />
<package id="BlinkID.Forms.Core" version="4.10.0" targetFramework="xamarinios10" />
<package id="BlinkID.Forms.iOS" version="4.10.0" targetFramework="xamarinios10" />
<package id="BlinkID.iOS.Binding" version="4.10.0" targetFramework="xamarinios10" />
<package id="Microsoft.NETCore.Platforms" version="2.2.2" targetFramework="xamarinios10" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="xamarinios10" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="xamarinios10" />
<package id="System.AppContext" version="4.3.0" targetFramework="xamarinios10" />
Expand All @@ -24,7 +24,7 @@
<package id="System.Linq" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Net.Http" version="4.3.4" targetFramework="xamarinios10" />
<package id="System.Net.Primitives" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Net.Primitives" version="4.3.1" targetFramework="xamarinios10" />
<package id="System.Net.Sockets" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.ObjectModel" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Reflection" version="4.3.0" targetFramework="xamarinios10" />
Expand All @@ -43,11 +43,11 @@
<package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="xamarinios10" />
<package id="System.Text.Encoding" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Text.RegularExpressions" version="4.3.1" targetFramework="xamarinios10" />
<package id="System.Threading" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Threading.Timer" version="4.3.0" targetFramework="xamarinios10" />
<package id="System.Xml.ReaderWriter" version="4.3.1" targetFramework="xamarinios10" />
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="xamarinios10" />
<package id="Xamarin.Forms" version="3.6.0.344457" targetFramework="xamarinios10" />
<package id="Xamarin.Forms" version="4.1.0.581479" targetFramework="xamarinios10" />
</packages>
4 changes: 2 additions & 2 deletions Samples/iOS/BlinkIDSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
<HintPath>packages\PCLCrypto.2.0.147\lib\xamarinios10\PCLCrypto.dll</HintPath>
</Reference>
<Reference Include="Validation">
<HintPath>packages\Validation.2.4.18\lib\netstandard1.3\Validation.dll</HintPath>
<HintPath>packages\Validation.2.4.22\lib\netstandard1.3\Validation.dll</HintPath>
</Reference>
<Reference Include="iOSBinding">
<HintPath>packages\BlinkID.iOS.Binding.4.9.0\lib\xamarinios10\iOSBinding.dll</HintPath>
<HintPath>packages\BlinkID.iOS.Binding.4.10.0\lib\xamarinios10\iOSBinding.dll</HintPath>
</Reference>
<Reference Include="PInvoke.Windows.Core">
<HintPath>packages\PInvoke.Windows.Core.0.5.184\lib\netstandard2.0\PInvoke.Windows.Core.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion Samples/iOS/ViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override void ViewDidLoad ()
customDelegate = new CustomDelegate(this);

// set license key for iOS with bundle ID com.microblink.xamarin.blinkid
MBMicroblinkSDK.SharedInstance.SetLicenseKey("sRwAAAEeY29tLm1pY3JvYmxpbmsueGFtYXJpbi5ibGlua2lks3unDL+B9jpa6FcAx5h88CdDbY3Ed+UmC8vCiVkZ+6EIZ7hW41+6+HV0NsoLauehaCsqgNSVOm4Wejt+tuG72LqnsaPTlqMQJywstXv26AMJvjXkP36f/F/Aaux+QMy7JtoBgS75/BttvsUuZOgN6W3MRR3x1uT6zcXiK+d8wUPbjFLwst5iMm3nCrzkHaQI/N4ZAFeAAYRw4sKObUjJBW1WnQc2dujTKsDW7daandn3Xp/TvDHslNQL+nkJ");
MBMicroblinkSDK.SharedInstance.SetLicenseKey("sRwAAAEeY29tLm1pY3JvYmxpbmsueGFtYXJpbi5ibGlua2lks3unDL+B9jpa6FcAwcjfVVpqQ5+cFLVVc+JpXyT3hXk3yn3wOhLLYa463nHLymolY0slyyr/aFmLhy3B5Tz1r/JzKIuXog5khwwEnPWkwnY+DT/a1hiL5tqtnaFhQIT84E1jRGo8T9nhy1V2XEjvLpFYRDUm41elqenQ0gI/gtUPLWNcE2xcacaFj17OqyvjDrsbmV3ZOsjxqBRWm2RrMwOLsJqxt0SBHAAJ3jqd8jozabnTlm37H0LFKsm0TUFRZRs=");
}

public override void DidReceiveMemoryWarning ()
Expand Down
4 changes: 2 additions & 2 deletions Samples/iOS/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BlinkID.iOS.Binding" version="4.9.0" targetFramework="xamarinios10" />
<package id="BlinkID.iOS.Binding" version="4.10.0" targetFramework="xamarinios10" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="xamarinios10" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="xamarinios10" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="xamarinios10" />
Expand All @@ -10,5 +10,5 @@
<package id="PInvoke.Kernel32" version="0.5.184" targetFramework="xamarinios10" />
<package id="PInvoke.NCrypt" version="0.5.184" targetFramework="xamarinios10" />
<package id="PInvoke.Windows.Core" version="0.5.184" targetFramework="xamarinios10" />
<package id="Validation" version="2.4.18" targetFramework="xamarinios10" />
<package id="Validation" version="2.4.22" targetFramework="xamarinios10" />
</packages>

0 comments on commit 1c5b535

Please sign in to comment.